4 ms·
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.
by jonknee 14y ago
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.
- jtolj 14y agoMaybe has something to do with this: https://stripe.com/blog/stripejs-and-jsonp https://stripe.com/blog/stripejs-and-jsonp (they mention JSONP only supporting GET requests)?
- jonknee 14y agoYup. Duh.
- exogen 14y agoThe 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).
- deleted 14y ago[deleted]