daily pastebin goal
39%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 53 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top