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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tjerk dot meesters at gmail dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Sun May 11 01:01:27 2025 UTC