Datatables Editor sending Request Method OPTIONS on initialization
Datatables Editor sending Request Method OPTIONS on initialization
I've just the latest release of datatables editor and I am getting an alert for illegal json response (datatables.net/tn/1) for each editor on the page. By reviewing the network connections, I have found an XHR call with the OPTIONS method. It appears to be generated on initialization but I cannot see anywhere where I am calling it nor any documentation on what it does. Any thoughts on turning it off or better yet what it does and how?
Best Wishes,
ks
This question has an accepted answers - jump to answer
Answers
Does this SO thread help?
https://stackoverflow.com/questions/16568735/options-request-instead-of-put-in-xmlhttprequest
Kevin
@ Kevin. I hadn't thought of the browser sending it. I am getting an illegal json response and I had associated it with the OPTIONS request because I hadn't noticed it before. Looks like I'm gonna need that shovel again.
Thanks!
ks
PS: Cool Name.
Of course
Follow the troubleshooting steps in the error message link. See where that gets you and let us know what you find.
Someone might be able to spot the issue if you collect debugger output:
https://datatables.net/manual/tech-notes/10
Kevin