php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #58616 add support for other verbs, such as PUT and GET
Submitted: 2009-04-04 21:56 UTC Modified: 2009-04-22 02:07 UTC
From: tjerk dot meesters at gmail dot com Assigned:
Status: Closed Package: oauth (PECL)
PHP Version: 5.2.8 OS:
Private report: No CVE-ID: None
 [2009-04-04 21:56 UTC] tjerk dot meesters at gmail dot com
Description:
------------
With most REST API's the verbs used are:
* GET
* PUT
* POST

Whereby PUT is used to construct the body itself via DOM/XML functions.

Currently, this is not yet supported .. would be nice to have ;-)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-04-06 14:39 UTC] jawed@php.net
In CVS, fetch takes a 3rd argument which can be populated with one of the OAUTH_HTTP_METHOD_* constants:

OAUTH_HTTP_METHOD_GET
OAUTH_HTTP_METHOD_POST
OAUTH_HTTP_METHOD_PUT
OAUTH_HTTP_METHOD_HEAD

Please close this bug once you verify it works for you as expected.
 [2009-04-22 02:07 UTC] jawed@php.net
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pecl.php.net/get/oauth


 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Sep 28 17:03:37 2021 UTC