Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

datatables pass headers on request

Plain text1234567'ajax': {    'url': url,    'type': 'GET',    'beforeSend': function (request) {        request.setRequestHeader("token", token);    }}
Source by datatables.net #
 
PREVIOUS NEXT
Tagged: #datatables #pass #headers #request
ADD COMMENT
Topic
Name
4+8 =