Reputation: 10139
I've modified my WebAPI to return JSONP, but how can I tell if it's really JSONP and not regular JSON? I understand that the "P" stands for Padding. Is there a physical, readable difference between JSON and JSONP?
Upvotes: 1
Views: 61
Reputation: 12857
jsonp will be in the form of this: (returned by the server of course)
"callbackFunction( { jsonSyntax } );"
jsonp is just JSON but with a callback javascript function wrapping it.
Upvotes: 2