Skip to content

Instantly share code, notes, and snippets.

@dimasjt
Created February 25, 2016 04:01
Show Gist options
  • Save dimasjt/74cbe3cbdaa7a9b82385 to your computer and use it in GitHub Desktop.
Save dimasjt/74cbe3cbdaa7a9b82385 to your computer and use it in GitHub Desktop.
get csfrf token with jquery for header
{ "X-CSRF-Token": $('meta[name="csrf-token"]').attr('content') }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment