Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. const express = require('express')
  2. const app = express()
  3.  
  4. const json = {a:1}
  5.  
  6. app.get('/not_cached', (req,res)=>res.status(200).json(json))
  7.  
  8. app.listen(3000, ()=>console.log('Server started'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement