javascript - JSONP throwing script error -
i making ajax request rest api not under control. getting cross-origin error because of set datatype "jsonp". but, throwing script error saying "unexpected token :". when @ network tab of chrome tools, can see request being placed , response getting back. how response looks like:
{"uniqid":"1427907503","membersid":"1245678","istypeauth":null,"secretkey":"abcdefghijklmnopqrstuvwxyz"}
now, thinking because rest api doesn't send jsonp. how can resolve issue?
thanks in advance.
Comments
Post a Comment