Skip to content

8. Status Codes implemented

Status Code Description Guitar Store API Scenario
200 OK The request was successful. Successfully retrieve guitar data.
201 Created A new resouce was created. Successfully added guitar data to the database inventory.
202 Accepted Indicate the request was accepted for processing but is not completed.
204 No Content There is no content to send for this request except for headers No content because it has deleted it.
400 Bad Request The server could not understand the request. Maybe a bad syntax?
404 Not Found
405 Method Not Allowed Won't be able to reconcile it.
409 Conflict In some cases it's not possible to update an existing resource.