We have a scenario where we need to post data from our domain (x.com) to a different domain (y.com). The action on the y.com is attributed HTTPPost
and it can be changed. But while posting data to the y.com using AJAX
and JSONP
with HTTPMethod POST
the request is automatically converted to HTTPMethod GET
.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…