View Full Version : Can anyone explain how an http protocol is made?

Barry Lamb
10-13-2002, 03:13 AM
I'm having a problem making an http protocol. I have all the XML tags and the information that I need to send to the server, but can't for the life of me figure out how to set the headers and send the information to the server via an http protocal.

Any help would be greatly appreciated.

I can be emailed at

10-13-2002, 04:30 AM
I'm really not sure of the question, but this might help, somehow...


Barry Lamb
10-13-2002, 01:08 PM

The part that is confusing me is the actual sending of the information via an http protocol.

What I'm wanting to do is send a webform to an URL.
I have the info to send, just can't seem to send it.

When I send the information via formail, I would use
<FORM ACTION ="/cgi-bin/formmail.pl"METHOD="POST">

What would be form action be for sending to a URL.
<FORM ACTION = http://www.url goes here> ????


10-13-2002, 01:21 PM
It should be the same syntax as the example you gave that works. As far as I know, you can just write

<FORM ACTION = "http://www.your-url.com/path-to-script/script.pl" METHOD="POST">

html/xhtml just resolves the "/cgi-bin/formmail.pl" to the full address based on the path of the current page--it's just shorthand that makes maintainance a little easier.

If this isn't what you're looking for, or if it doesn't work, could you explain what exactly you are trying to do? Are you trying to send data to another webserver from your site?

Barry Lamb
10-13-2002, 01:37 PM
I think I see now what I'm missing.

I need a script to put in a folder on my website to reference too?

Any idea where I would get a script for this?

What I'm trying to do is send info to Ebay's API



10-13-2002, 03:44 PM
Have you checked the eBay documentation? I'm not familiar with their system, but you shouldn't need any script on your side. You may need to pass in a user name/password somehow, but only eBay could tell you the specifics for their system.

Barry Lamb
10-13-2002, 04:59 PM
Yes, I have all the documentation from ebay on what to send, but it doesn't give any info on the "how to send"

10-13-2002, 07:40 PM
Originally posted by Barry Lamb
Yes, I have all the documentation from ebay on what to send, but it doesn't give any info on the "how to send"

Well, the standard syntax for argument passing is:


Hope that helps