How do I POST data to a remote URL in Classic ASP?

后端 未结 8 783
走了就别回头了
走了就别回头了 2020-12-08 08:06

I need to POST data to a url in the middle of a script.

  1. User fills out form:
  2. Form submits to process.asp: I need to PO
8条回答
  •  無奈伤痛
    2020-12-08 08:23

    In .Net it's System.Net.WebClient or System.Net.HttpWebRequest.

    Classic ASP has a completely different api- I'm not sure what you would use instead there.

    [edit]
    I suspect that if classic asp has any built in support for this, it's in a Scripting object, like so: CreateObject("Scripting.????")

提交回复
热议问题