Re:Stripe Button (beta)
by jonknee on Tuesday October 09, 2012 @04:22PM
(#4633730)
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.
[ Parent
| on HN ]
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)?