🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1689

http - post

#1689
From: JF
Date: Tue, 05 Oct 2004 00:25
22 lines
1671 bytes
Making my first venture into generating data for the parameters for an
http->post using C++builder 5.

The post data I created as a first test was simply "name= John".

The first target URL was a small asp program on localhost which does a
response.write of each key and each request.form key.  This program thinks
key (name) is "name=John" and response.write key (value) is nothing.

The second target URL was www.uark.edu/~wrgx/versus/post.cgi which shows all
the parameters that were sent to it. This site thought the key was
"name%3dJohn".

Both inputfilemode and outputfilemode are set to false.

In both cases the data from the site was viewed through the code
Memo1->Text=NMHTTP1->Body;

What should I have written in the postdata parameter?Any help or pointers to
a source of information would be greatly appreciated.

JF
Technical Details
Message-ID: <4161ea5c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,edd0e253bad903c5,start
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "JF" <john.forbes@shaw.ca>
Newsgroups: borland.public.cppbuilder.internet.web
Subject: http - post
Date: Mon, 4 Oct 2004 17:25:50 -0700
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 24.87.10.191
Message-ID: <4161ea5c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1096936028 24.87.10.191 (4 Oct 2004 17:27:08 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail