Jsonp
Our api can also be called from browser pages directly using JSON Padding.
Info
- format: jsonp
- jscb: Optional callback function name or defaults to scApiCall
Parameters
Simply add a format parameter to any call and you will get the json response wrapped in a function called scApiCall.
Example
REQUEST:
https://api.safecreative.org/v2/?component=ztime&format=jsonp
RESPONSE:
scApiCall({"ztime": "1299160340948"})