The last few days I was playing with javascript and Ajax to make internet calls to JSON services. As before I ran into cross site issues (was expecting this) and I am creating services locally and also looking at the proxy on on my server to see if I can get that to work. One new twist I learnt was the whole JSONP idea, and that basically says that a service can support JSONP and then it can be called directly from the browser as it wraps its response in a object (sort of) , SO, I am learning how to create a JSONP service. Hardest part would be securing that I guess to prevent abuse.
Friday, June 7, 2013
JSON
The last few days I was playing with javascript and Ajax to make internet calls to JSON services. As before I ran into cross site issues (was expecting this) and I am creating services locally and also looking at the proxy on on my server to see if I can get that to work. One new twist I learnt was the whole JSONP idea, and that basically says that a service can support JSONP and then it can be called directly from the browser as it wraps its response in a object (sort of) , SO, I am learning how to create a JSONP service. Hardest part would be securing that I guess to prevent abuse.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment