I have tried to post Form data from my mvc site to Other domain without page refresh[Ajax.post
]. But the form data not saved in other domain.While I am posting same data to normal form post:`This data saved into Marketo site.
Can you suggest if there is any possible way to post the form data to cross domain without page refresh?
Asked
Active
Viewed 929 times
1

Anandh
- 167
- 5
- 15
1 Answers
0
I have tried to post Form data from my mvc site to Other domain without page refresh[Ajax.post]. but the form data not saved in other domain.
That is because of the Cross Origin Resource Sharing (CORS) restriction
and to circumvent the CORS one of the possible solution is to make a proxy on your server side and have that proxy talk to the other domain that i thin what you mean by "while i am posting same data to normal form post[]. this data saved into Marketo site."
Can you suggest if there is any possible way to post the form data to cross domain without page refresh?
[Cross-domain Ajax -- brief introduction]