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

Popular posts from this blog

How can we post XML strings along with text strings in iOS -

c# - cefsharp app remember password option -

linux - Writing to Embedded Controller registers in Ubuntu 14.04 -