How we can help you?

Is there an option to return data in JSONP format?

All Xignite APIs support both JSON and JSONP formats. To return data using the JSON format, all you need to do is use "json" as the extension for the service on the URL call.

JSONP or "JSON with padding" is a communication technique used in JavaScript programs that run in Web browsers. It provides a method to request data from a server in a different domain, something prohibited by typical web browsers because of the same origin policy.
To implement JSONP for any API call, you may add the following value pair to your querystring: "&_callback=yourFunction"

For more information on JSONP, check http://www.w3resource.com/JSON/JSONP.php

Was this article helpful?

Yes
No

0 out of 1 found this helpful