php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #59406 Be able to use POST for getRequestToken, getAccessToken as well
Submitted: 2010-09-08 13:58 UTC Modified: 2011-01-15 12:39 UTC
From: sylvain dot lecoy at gmail dot com Assigned:
Status: Closed Package: oauth (PECL)
PHP Version: 5.3.2 OS: Windows 7
Private report: No CVE-ID: None
 [2010-09-08 13:58 UTC] sylvain dot lecoy at gmail dot com
Description:
------------
We should be able to choose using the POST method for 
getRequestToken, getAccessToken, and not only with fetch.

As an example, linkedin API requires using a POST method to 
use their API (even if it's actually working with a GET 
method).

@see: http://developer.linkedin.com/docs/DOC-1008

(I'm using v0.99.9 but the methods in the 1.0.0 does not 
suggest that setting the http method is possible).


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-09-09 02:07 UTC] jawed@php.net
There's a related bug to change the default method but you can pick POST 
the via constructor, see bug 18214:

http://pecl.php.net/bugs/bug.php?id=18214

- JJ
 [2011-01-15 12:39 UTC] jawed@php.net
This bug has been fixed in SVN.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.

The default HTTP method has changed to POST in trunk (and will 
be changed in the next release).

- JJ
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 16:01:30 2024 UTC