daily pastebin goal
52%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. html
  2.     head
  3.         title= title
  4.     body
  5.         h1= message
  6.         form(method="get" action="/foo")
  7.     button(type="submit") run foo
  8.    
  9. app.get('/foo', function(req, res) {
  10.     console.log("Its come here");
  11.     res.render('index', { title: 'hello', message: 'hello' });
  12. });
RAW Paste Data
Top