AspNetCore.Docs/aspnetcore/tutorials/min-web-api/includes
Suleyman c14c1d5333
Replace HTTP 200 status code with 201 for POST (#33394)
* Replace HTTP 200 status code with 201 for POST

The correct status code for successful POST requests is 201, not 200. Even the accompanying image says 201 as opposed to 200.

* Update aspnetcore/tutorials/min-web-api.md

* Update min-web-api8.md

Extended the fix to the 8.0 version of the topic.

* Update min-web-api6-7.md

Extended the fix to previous versions 6-7

---------

Co-authored-by: Wade Pickett <wpickett@microsoft.com>
2024-08-19 09:06:41 -07:00
..
min-web-api6-7.md Replace HTTP 200 status code with 201 for POST (#33394) 2024-08-19 09:06:41 -07:00
min-web-api8.md Replace HTTP 200 status code with 201 for POST (#33394) 2024-08-19 09:06:41 -07:00