What status code is commonly returned by a RESTful API after successfully creating a resource?
- 200 OK
- 201 Created
- 204 No Content
- 400 Bad Request
The common status code returned by a RESTful API after successfully creating a resource is 201 Created. This status code indicates that the request has been fulfilled, resulting in the creation of a new resource as a result of the action performed by the POST request.
Loading...
Related Quiz
- Which protocol is specifically designed for message security in SOAP web services?
- What distinguishes SOAP 1.1 from SOAP 1.2 in terms of error handling?
- In terms of extensibility and integration with existing infrastructure, what is a key advantage of SOAP over REST?
- A developer is integrating a legacy system with a modern application using SOAP. What should be considered for compatibility?
- In the context of web services, what does UDDI provide?