hayuna / live-sharing

1 stars 2 forks source link

Backend in Node #13

Open hayuna opened 4 years ago

hayuna commented 4 years ago

Agenda:

hayuna commented 4 years ago

Comment

Tubka commented 4 years ago

Add method POST to add new user, and method GET to display on front-end data.

hayuna commented 4 years ago

Two new subtasks were added to agenda.

hayuna commented 4 years ago

@Tubka You can check subtasks in agenda if we complete them.

hayuna commented 4 years ago

List of HTTP status codes

2xx Success

Status codes indicates the action requested by the client was received, understood, and accepted.

200 OK

Standard response for successful HTTP requests.

201 Created

The request has been fulfilled, resulting in the creation of a new resource.

204 No Content

The server successfully processed the request, and is not returning any content.

3xx Redirection

Status code indicates the client must take additional action to complete the request. Mainly used in URL redirection.

301 Moved Permanently

This and all future requests should be directed to the given URI.

4xx Client errors

Status code is intended for situations in which the error seems to have been caused by the client.

400 Bad Request

The server cannot or will not process the request due to an apparent client error.

401 Unauthorized

Used when authentication is required and has failed, has not yet been provided or the user does not have valid authentication credentials for the target resource.

402 Payment Required

The original intention was that this code might be used as part of some form of digital cash or micropayment scheme.

403 Forbidden

The request contained valid data and was understood by the server, but the server is refusing action. This may be due to the user not having the necessary permissions for a resource.

404 Not Found

The requested resource could not be found.

405 Method Not Allowed

A request method is not supported for the requested resource. Restricted by CORS.

408 Request Timeout

The server timed out waiting for the request.

5xx Server errors

The server failed to fulfill a request.

500 Internal Server Error

Error given when an unexpected condition was encountered and no more specific message is suitable.

503 Service Unavailable

The server cannot handle the request (because it is overloaded or down for maintenance).

hayuna commented 4 years ago

Next session will take place on 01.07.2020

Agenda: