Simple Server - Http Methods
Write a simple server to handle the following GET /books PUT /books DELETE /books GET /books/author/ POST /books/author/ PUT /books/author/
NB. Whatever the response for each of this endpoints, is up to you to decide
Authentication
- Get the authentication username and password from the header.
- Free up the body to be able to carry payload for other method types.
- Add more endpoints for books [GET, POST, PUT, PATCH, DELETE]. (These endpoint don't to do anything. but must return a response)
- Add more endpoints for authors [GET, POST, PUT, PATCH, DELETE]. (These endpoint don't to do anything. but must return a response)