const ping = require('@routes/ping');
app.get('/ping', ping);
Returns
- status code:
200
- content type:
plain/text
- response body:
pong
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
const ping = require('@routes/ping');
app.get('/ping', ping);
Returns
200
plain/text
pong