Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
239 views
in Technique[技术] by (71.8m points)

c# - asp.net Webforms: how to send POST request from One page and Read POSTed response on a different page

I wish to know how we can read the POST response in the below scenario… Specifically, is there a way to achieve the below scenario:

I have one asp.net (4.6) webforms application: “App1”

It has 2 pages: “Page1.aspx”,
“Page2.aspx”

App1------> POSTs data to some URL (ThirdParty)---- from Page1.aspx (using WebRequest Class)

That third Party app POSTs back a data (JSON format ) to the URL we specify. (this is Page2.aspx)

Now, how to read that data sent on the Page2.aspx.

How to achieve this control flow?

Many Thanks!

question from:https://stackoverflow.com/questions/65546067/asp-net-webforms-how-to-send-post-request-from-one-page-and-read-posted-respons

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...