Web Connection
Receiving raw data without form, returning result text
Gravatar is a globally recognized avatar based on your email address. Receiving raw data without form, returning result text
  Michael Hogan (Ideate Hosting)
  All
  Oct 24, 2024 @ 07:59am

My client would like to be able to post (through a scheduled automated process) a simple unformatted long string to my webconnect web server without any interface (no web forms for this method) for processing and I think the string is too complex to grab as a QueryString(). I need to return a similar result string to confirm success.

They are using FoxPro as well.

On my WebConnect server side, would I have to use GetRawFormData() to receive the string without using a web form? Would I use a simple Response.Write() to return a similar result string?

On their side, would they simply do a POST() using an nPostMode of 3?

TIA

Gravatar is a globally recognized avatar based on your email address. re: Receiving raw data without form, returning result text
  Rick Strahl
  Michael Hogan (Ideate Hosting)
  Oct 24, 2024 @ 09:51am

Yes to all of those...

Request.Form() without a parameter also gets you the entire POST buffer.

+++ Rick ---

© 1996-2025