Closed
Bug 907245
Opened 11 years ago
Closed 11 years ago
Allow for URL params to also be passed with POST/PUT REST API requests
Categories
(Bugzilla :: WebService, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 5.0
People
(Reporter: dkl, Assigned: dkl)
Details
Attachments
(1 file)
1.11 KB,
patch
|
glob
:
review+
|
Details | Diff | Splinter Review |
Currently for POST/PUT requests, CGI.pm will ignore any parameters passed as part of the query string. But you can call url_param to get the additional parameters and we can add them to the total params for a REST API request. Note, any parameters passed in the query string will override the same params if present in the request body.
For example, the following will be allowed:
PUT /bug/12345?username=USERNAME&password=PASSWORD
dkl
Assignee | ||
Updated•11 years ago
|
OS: Linux → All
Hardware: x86_64 → All
Target Milestone: --- → Bugzilla 5.0
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #792916 -
Flags: review?(glob)
Comment on attachment 792916 [details] [diff] [review]
907245_1.patch
nice, r=glob
Attachment #792916 -
Flags: review?(glob) → review+
Assignee | ||
Comment 3•11 years ago
|
||
Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bugzilla/trunk
modified Bugzilla/WebService/Server/REST.pm
Committed revision 8706.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•