Skip to content

Update main.py - #15

Open
theflyfoxX wants to merge 1 commit into
baranbartu:masterfrom
theflyfoxX:patch-1
Open

theflyfoxX wants to merge 1 commit into
baranbartu:masterfrom
theflyfoxX:patch-1

Conversation

@theflyfoxX

Copy link
Copy Markdown
  • 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