Skip to content

Latest commit

 

History

History

ping

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

🏓 out-of-the-box expressjs ping route

const ping = require('@routes/ping');

app.get('/ping', ping);

Returns

  • status code: 200
  • content type: plain/text
  • response body: pong