http://localhost:4000/api/genres
http://localhost:4000/api/books
http://localhost:4000/api/books/{id}
- Example id: 5a845f10439dabe05de21766
Use Chrome Extension "RestEasy"
URL - http://localhost:4000/api/genres
Method - POST
Headers - Content-Type: application/json
Body -
{
"name":"Romance"
}