Skip to content

Instantly share code, notes, and snippets.

@deepal
Created February 17, 2016 05:33
Show Gist options
  • Save deepal/7ea682443099e363e1b4 to your computer and use it in GitHub Desktop.
Save deepal/7ea682443099e363e1b4 to your computer and use it in GitHub Desktop.
nodesec-csrf-express
form (action="/create",method="post")
input (type="hidden", name="_csrf", value=_csrfToken)
label (for="myname") Your name :
input (type="text", id="myname")
button (type="submit") Submit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment