[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Simple Post
I guess I was confused. I was posting commands to them so that's why I was doing it that way.. But really just calling a URL. So let me try the URL_get as suggested. I can probably use the same code I use to get the data from.
Thanks
Ron
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Tuesday, July 12, 2011 7:27 PM
To: HTTPAPI and FTPAPI Projects
Subject: Re: Simple Post
I'm guessing this means you want to connect to a URL with URL-encoded
form data in it. If this is the case, 99% of the time, you want to use
a GET request. (Not sure why you were trying to use POST)
You can use the 'webform' code to build the URL-encoded form data, and
the http_url_get() routine to connect to the server with the URL.
On 7/12/2011 5:01 PM, Ron Koontz wrote:
> I need to send them a URL with tags in it is all. So I'm not sure the
> best way to do this.
> Thanks.
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------