Quick and dirty Express server to help debug API calls.
Binds an http server to a specified port (3000 by default.)
- Have NodeJS already installed.
- Run
yarn - Run
yarn startoryarn start <port> - Point the request to the server.
$ yarn start 3000
Listening at http://localhost:3000
{
url: '/my-example-api/123/users/active',
method: 'GET',
headers: {
accept: 'application/json, text/plain, */*',
'user-agent': 'axios/0.21.1',
host: 'localhost:3000',
connection: 'close'
}
}