Skip to content

Commit 12ff858

Browse files
committed
status code finalize
1 parent 491b411 commit 12ff858

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/rest-api/status-code.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@ Most of the explanation on status code is provided in link below:
1414

1515
[Mozilla](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status)
1616

17+
In many cases REST based frameworks tend to handle status codes.
1718

1819
Some status code to be considered are:
1920

2021
* `200` for generic successful response.
2122
* `201` for creation of resources. Usually with `POST` request.
2223
* `204` for successful request processing but no response content required.
23-
- Usually with `DELETE` and `PATCH` `PUT` request. `HEAD` can use another method where this can be used.
24+
- Usually with `DELETE` and `PATCH` `PUT` request. `HEAD` can be another method where this can be used.
2425

2526

2627
* `400` generic client issues.

0 commit comments

Comments
 (0)