Re: [orkut-developer] Getting 405 Method Not Allowed error on POST request.. Please help.

2011-06-13 Thread Aditya Hajare
The post request is being submitted to following url : * http://www.orkut.com/social/rpc/* The scope parameter in oAuth request is :* http://orkut.gmodules.com/social/ * but i am still getting the same 405 error even after removing that line from the send() function located in orkut-3legged.php. F

Re: [orkut-developer] Getting 405 Method Not Allowed error on POST request.. Please help.

2011-06-13 Thread Aditya Hajare
Hello, Thank you for replying but i am still getting the same 405 error even after removing that line from the send() function located in orkut-3legged.php. Following are the details from curl response : [http_code] => 405 [data] => HTTP/1.1 405 Method Not Allowed Content-Type: text/html; charset

Re: [orkut-developer] Getting 405 Method Not Allowed error on POST request.. Please help.

2011-06-13 Thread Robson Dantas
Hi ! There is a bug on php-curl when specifying CURL_CUSTOMREQUEST. What you have to do in this case is removing this line on orkut-3legged.php: curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method); Most servers people in India use, like hostgator, have this bug. Give it a try and let me know. Robs

[orkut-developer] Getting 405 Method Not Allowed error on POST request.. Please help.

2011-06-11 Thread Aditya Hajare
I am using orkut osapi PHP client library... i did not changed anything in it yet.. just specified required credentials in global.php and tried to test the client.. At first, it was giving me Content-Length header is missing error.. I fixed it by manually adding Content-Length: 0 header in it's