From https://todoist.com/API/help
Solving cross domain security policy [top]
You cannot use AJAX to directly communicate with Todoist, this is due to browser security policy. You can solve this by communicating with Todoist using a script tag:
var script = document.createElement( 'script' ); script.type = 'text/javascript' ; document.getElementsByTagName( 'head' )[0].appendChild(script); |
callbackFunction({ JSON data here }); |
No comments:
Post a Comment