i am using mvc 2 and .net 3.5.
I have 2 mvc sites.
How can i post an xml message from an action/page in site 1 to a page in site 2?
And at the same time redirect the user from site 1 to the page in site 2.
thank you very much
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Probably the easiest way would be to modify site 2 and add a controller action which would accept an
application/x-www-form-urlencodedrequest (a.k.a. simple form POST):and on site 2 inside the newly created action which would serve as an entry point you could fetch the XML as a string and process it: