curl-library
Re: Error 405
Date: Wed, 26 Jun 2002 13:20:40 +0200 (MET DST)
On Wed, 26 Jun 2002, Chirag wrote:
> I am submitting a URL from Curl C Api on Linux plaform. But I get an
> error with Error Number 405. It asks me to specify either GET or POST
> method. Even though when i specify one of the two setopt() parameters, i
> still get the Error 405.
So please show us your HTTP request, set CURLOPT_VERBOSE to TRUE. Include the
response-headers too.
> e.g. I have specified :
> curl_easy_setopt(curl, CURLOPT_HTTPGET, TRUE);
> OR
> curl_easy_setopt(curl, CURLOPT_POST, TRUE);
And what method did your requests use when you used these?
> I want to explicitly issue a GET METHOD but CURLOPT_HTTPGET doesnt seem to
> have any effect on that.
It should.
> Is there any other function thru which i can specify GET ?
No.
> Do i have to configure something at the server end where the URL is
> submitted ?
It's impossible for us to even guess based on this lack of information.
-- Daniel Stenberg -- I'll be away for a month, starting tomorrow ------------------------------------------------------- This sf.net email is sponsored by: Jabber Inc. Don't miss the IM event of the season | Special offer for OSDN members! JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdnReceived on 2002-06-26