Skip to content

Commit

Permalink
doc/registry-web-api: Adjust success response code documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 committed Dec 12, 2023
1 parent 1aa9df1 commit 9cb5eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/src/reference/registry-web-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ visit the registry's website to obtain a token, and Cargo can store the token
using the [`cargo login`] command, or by passing the token on the
command-line.

Responses use the 200 response code for success.
Responses use a 2xx response code for success.
Errors should use an appropriate response code, such as 404.
Failure
responses should have a JSON object with the following structure:
Expand Down

0 comments on commit 9cb5eed

Please sign in to comment.