How to check api is working or not
satyabratasenapati opened this issue · 1 comments
satyabratasenapati commented
Hello,
I have an issue regarding checking the api whether the api is working ir not.How to call api for debugging
moizKachwala commented
1. getAll http://localhost:3000/api/heroes <= get all heroes
2. getById http://localhost:3000/api/heroes/:id <= get hero by Id
3. post http://localhost:3000/api/heroes <= create hero
4. put http://localhost:3000/api/heroes/:id <= update hero
5. delete http://localhost:3000/api/heroes/:id <= delete hero