Response.Redirect with POST instead of Get?

后端 未结 14 1217
离开以前
离开以前 2020-11-22 04:04

We have the requirement to take a form submission and save some data, then redirect the user to a page offsite, but in redirecting, we need to \"submit\" a form with POST, n

14条回答
  •  情书的邮戳
    2020-11-22 04:20

    @Matt,

    You can still use the HttpWebRequest, then direct the response you receive to the actual outputstream response, this would serve the response back to the user. The only issue is that any relative urls would be broken.

    Still, that may work.

提交回复
热议问题