100’s = usually tell the client that the header part of the request has been received
200’s = tell the client that its request was accepted
300’s = tell the client that the resource they are requesting isn’t available at the expected location anymore.
400’s = They are all about invalid requests a client sent to a server.
500’s = Often they indicate problems with overwhelmed servers or unreachable servers behind proxies
This code tells the client that the request was valid, but its processing will finish sometime in the future.
This tells the client to use another URL to access the resource and not use the current URL anymore.
204 No Content
410 Gone
The client has authorized or doesn’t need to authorize itself, but still has no permissions to access the resource.
because when we deploy our application we are going to use something that is not our localhost
is code that runs when the server gets a request but before passed to your routes
accept JOSN as a body instead of a post element
means that this is a parameter that we can access by;
PATCH using for update based on what the user passes us.
just write key with name ‘default’
it mean that the actual server in had some kind of error caused the actual transaction
201 mean successfully create an object by default 200 mean everything was successful
then that mean 201 more specifics way