how to pass csrf token with ajax request?

Report
Question
730 views

n between head, tag put <meta name="csrf-token" content="{{ csrf_token() }}"> and in Ajax, we have to add

Please explain why do you think this question should be reported?

Report Cancel

Thread Reply

  1.  Snowden
    Android Developer 1 Votes
    2 years ago

    Please briefly explain why you feel this answer should be reported .

    Report Cancel
    is there any other way?
  1.  Snowden
    Android Developer 1 Votes
    2 years ago

    Please briefly explain why you feel this answer should be reported .

    Report Cancel
    Anyone tell me other way?

Leave an comment

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>