Re: Best way to send XML via HTTPS POST

From: Date: Fri, 02 Jul 2004 22:18:30 +0000
Subject: Re: Best way to send XML via HTTPS POST
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-189591@lists.php.net to get a copy of this message
Thanks Manuel, I will take a look at it. I do have complete control over the box this is running on, so I can rebuild PHP with support for CURL and OpenSSL if necessary. My main concern is having a robust approach that is fast and efficient under a high load. On 7/2/04 5:55 PM, "Manuel Lemos" <mlemos@acm.org> wrote: > Hello, > > On 07/02/2004 01:40 PM, Shaun Fanning wrote: >> I need to interface with a partner's XML API and they require that the XML >> request be sent via HTTPS POST. I also need to parse the XML response that >> the partner's server will send back. Is CURL the best way to handle the >> transfer or something like PEAR HTTP_Request? I'm looking for the approach >> that will be the most reliable under heavy load. Thanks for any advice. > > SSL (HTTPS) support is a little tricky. Some hosts may or may not > provide curl or openssl PHP extensions that are necessary to support SSL. > > You may want to try this popular HTTP client that makes SSL requests > figuring automatically whether it is possible to use curl or openssl for > you. The usage of the class is the same regardless which of the > libraries is available. > > It already comes with an example to make XML HTTP POST requests: > > http://www.phpclasses.org/httpclient >

« previous php.general (#189591) next »