Actions
Bug #6882
closedPOST create responses should be 201
Description
All api/v2 create responses are 200, with the except of interfaces.
However, the RFC specifies that when a resource is created, the server should return a 201 code, and a Location header with the location of the newly created resource.
process_success in base_controller needs to be changed to match the RFC.
Updated by Dominic Cleal almost 10 years ago
- Status changed from New to Closed
- Assignee set to Alon Goldboim
- % Done changed from 0 to 100
- Translation missing: en.field_release set to 63
Fixed via #10356.
Actions