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

That is interesting, the form is a POST, must be Javascript doing the GET in its place. I wonder what the technical advantage of GET is in this case.


The technical advantage is getting around the same-origin policy by using JSONP (which by its nature can only be used with GET requests for the script).


Maybe has something to do with this: https://stripe.com/blog/stripejs-and-jsonp (they mention JSONP only supporting GET requests)?


Yup. Duh.




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

Search: