moizKachwala / Angular2-express-mongoose-gulp-node-typescript

AngularJS 2 (Updated to 4.2.0) Mean Stack application which uses Angular2, Gulp, Express, Node, MongoDB (Mongoose) with Repository Pattern Business Layer
MIT License
196 stars 86 forks source link

How to check api is working or not #36

Closed satyabratasenapati closed 7 years ago

satyabratasenapati commented 7 years ago

Hello, I have an issue regarding checking the api whether the api is working ir not.How to call api for debugging

moizKachwala commented 7 years ago
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