Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
241 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 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...