INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Post issue with NMHTTP

Post issue with NMHTTP

(OP)
Hi

I am using the supplied example with Borland 6 called HTTPDEMO is order to prove a concept I am trying to do, simply post data to a website

I have an ASP web page which simply shows the data that has been posted called posttest.asp. in it I have code that says <%=request.form%> to display the posted data.

On the example location is "http://someserver/somepage.asp" , obviously substituted with fake page name. In the example the Post Data is "txtName=Someone".

When I send the data the response shows as :

<title>Untitled Document</title>
</head>

<body>
<p>&nbsp;</p>
<p>Postdata is : txtName%3DSomeone</p>


it looks like my Post Data has been URLEncoded before the call which I don't know how to prevent or correct. I don't Encode it before it is sent as far as I know. The code from the example says :

NMHTTP1->Post(Edit2->Text, Edit3->Text);
Memo3->Text = NMHTTP1->Header;
Memo4->Text = NMHTTP1->Body;


Edit2 is a textbox for the URL and Edit3 is a textbox for the Post Data I want to provide.Memo3 and Memo4 are just TMemos to show the results of the header and body part of the call.

Does anyone know why the page sees it as txtName%3DSomeone and not txtName=Someone ? My issue is that I want to use this to interface to existing pages that I don't control so I need to correct this on the client side.

Any help appreciated thanks

BuilderSpec






Hope this helps!

Regards

BuilderSpec

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close