Read Content Body on a HTTP Post

Read Content Body on a HTTP Post


Hi Community,

How can i get and Read the Content that comes in in the body of an http Post?

i.e: Server A on page /.../TestA.aspx is an action that makes an Http Post to Server B /.../TestB.aspx with a "Data" and an XML based inside.

When Accessing server B, page TestB.aspx i need to get and read the xml based that was on the Post. 

I've tried the HTTPGet and also GetRequestContent, but none of them i could read the body.

Thanks in advance,

Best Regards,

Andrew Tabata

Hi Andrew,

Any ready why you are not using REST API's instead of screens? It would be easier.

What do you want the TestB page to do with the information?

(But answering your question: GetRequestContent should be able to return the content of the submitted post)

João Rosado