Skip to content

Update main.py #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update main.py #15

wants to merge 1 commit into from

Conversation

theflyfoxX
Copy link

  • Change status code to 200 OK unless you are creating a token/session. change 409 to 404, 409 CONFLICT is used when there's a conflict endpoint get users update :
    -> Explicitly checks if the requester identity is missing
    -> Ensures only valid users can access the endpoint (optional but recommended)
    -> Use limit offset , to prevent overwhelming the client
    -> Adds validation to ensure values are within acceptable ranges

Change status code to 200 OK unless you are creating a token/session.
change 409 to 404, 409 CONFLICT is used when there's a conflict
endpoint get users update : 
	Explicitly checks if the requester identity is missing
	Ensures only valid users can access the endpoint (optional but recommended)
	Use limit offset , to prevent overwhelming the client 
	Adds validation to ensure values are within acceptable ranges
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant