Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What would be the RESTful way to specify jsonp? (i.e. wrapping the json response with a jsonp callback function).

A semi-related question - this is something I've wondered for a while - does the XMLHttpRequest single origin policy actually do anything for security? What kind of malicious resource might you try to fetch with an ajax call that can't just be wrapped in a jsonp callback?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: