send custom requestheader

send custom requestheader

plasaplasa Posts: 1Questions: 0Answers: 0
edited August 2013 in Editor
Hello
I have the problem that I must send a custom request header field to the server, even for post, put and delete requests.
How can I do that?

Thanks and have a nice day!

Christian

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Hi Christian,

    The way to do that is to use the `ajax` option and provide a function: http://editor.datatables.net/options/#ajax . That way you can send anything you want!

    Allan
This discussion has been closed.