- 100’s =Continue
- 200’s =OK
- 300’s =Multiple Choices
- 400’s =Bad Request
- 500’s =Internal Server Error
The HyperText Transfer Protocol (HTTP) 202 Accepted response status code indicates that the request has been accepted for processing, but the processing has not been completed; in fact, processing may not have started yet
The HyperText Transfer Protocol (HTTP) 308 Permanent Redirect redirect status response code indicates that the resource requested has been definitively moved to the URL given by the Location headers. ... Note: Some Web applications may use the 308 Permanent Redirect in a non-standard way and for other purposes.
404
409 Conflict
indicates that the server understood the request but refuses to authorize it
becouse it a sensative data
basically a function that will the receive the Request and Response objects
to recognize the incoming Request Object as a JSON Object
to build a dynamic route
PUT is a method of modifying resource where the client sends partial data that to be updated without modifying the entire data . With PATCH, however, the enclosed entity contains a set of instructions describing how a resource currently residing on the origin server should be modified to produce a new version.
Make mongoose string schema type default value as blank and make the field optional.
(HTTP) 500 Internal Server Error server error response
200:hat the request was received and understood 201:that a request was successful and as a result