Passing authorization token in Data Table header

Passing authorization token in Data Table header

aftab1001aftab1001 Posts: 1Questions: 1Answers: 0

Hi everyone

Can u please give me a detail example about how to pass authorization token in request header of jquery datatable.

Answers

  • allanallan Posts: 63,552Questions: 1Answers: 10,477 Site admin

    Use the ajax.data option to pass extra data, or use ajax if you want to modify the Ajax object - it has all the same options has jQuery so you can manipulate the headers as you would for $.ajax if you want.

    Allan

This discussion has been closed.