Re: HTTPS POST
Date: Tue, 9 May 2006 14:15:22 -0700
On Tue, May 09, 2006 at 04:53:35PM -0400, Alex Kelly wrote:
> It sounds like I could just discard the response data (the downloaded
> remote webpage), then create an if/else statement to check if there is
> response data.
> If response data, then POST was successful...else no response data, POST
> was unsuccessful.
You're likely to get response data whether the POST was successful or not,
such as a message saying "You are not authorized to POST". Better to check
the HTTP response code CURLINFO_RESPONSE_CODE (as well as the value returned
by curl_easy_perform, of course).
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2006-05-09