Skip to content

Commit 9cb5eed

Browse files
committed
doc/registry-web-api: Adjust success response code documentation
1 parent 1aa9df1 commit 9cb5eed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/src/reference/registry-web-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ visit the registry's website to obtain a token, and Cargo can store the token
1010
using the [`cargo login`] command, or by passing the token on the
1111
command-line.
1212

13-
Responses use the 200 response code for success.
13+
Responses use a 2xx response code for success.
1414
Errors should use an appropriate response code, such as 404.
1515
Failure
1616
responses should have a JSON object with the following structure:

0 commit comments

Comments
 (0)