Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jonknee
on Oct 9, 2012
|
parent
|
context
|
favorite
| on:
Stripe Button (beta)
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.
exogen
on Oct 9, 2012
|
next
[–]
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).
jtolj
on Oct 9, 2012
|
prev
|
next
[–]
Maybe has something to do with this:
https://stripe.com/blog/stripejs-and-jsonp
(they mention JSONP only supporting GET requests)?
jonknee
on Oct 10, 2012
|
parent
|
next
[–]
Yup. Duh.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: