A example how to create a rest in expressjs
-
For run the example, put this in your terminal DEBUG=PokeRest:* npm start
-
Don't forget check the file test
-And if you like, you can test the rest with curl curl -i http://localhost:3000/listPokemon
A example how to create a rest in expressjs
For run the example, put this in your terminal DEBUG=PokeRest:* npm start
Don't forget check the file test
-And if you like, you can test the rest with curl curl -i http://localhost:3000/listPokemon