JSONP
- Problem: I want to call REST service on some other
server, but XHR requests can only go to my server.
- Solution: write JavaScript that creates
script
elements (JavaScript on demand). Only
works if he return JSON.
- JSONP
adds a
callback
attribute.
- Example using delicious' feeds.
José M. Vidal
.
8 of 8