View Complete Thread | FoxWeb Forum Home
Date:    Msg ID:   
From:    Thread:   

You are not providing enough information for us to be able to help you. Ideally, the other party will provide you with a sample page that you could use as a guideline.

In general, post data looks similar to a query string:


All name and value strings are URLEncoded.  It's possible that this is all you need to do:

Html_out = 'application/x-www-form-urlencoded' + CHR(10) + CHR(10) + ;

    URLEncode(name1) + '=' + URLEncode(value1) + '&' + ;

    Other name/value pairs...

There may be other headers that are necessary for this, so you should really ask for a sample page.

FoxWeb Support Team email

Sent by Steve Moore on 06/30/2004 01:08:15 PM:
I need to construct a response string using the old html_out that calls a post method on a remote server. In other words, I need to format a return page that is the equivalent of a post method submit form (without requiring a submit button to be pressed by the user)
I Know that the ContentType = "application/x-www-form-urlencoded" should be in the beginning of the return string. Can someone point me to the information on how this return string should look?