Closed
Bug 986427
Opened 11 years ago
Closed 11 years ago
GET /calls/ doesn't work - always returns '{ "error": "missing: version" }'
Categories
(Hello (Loop) :: Server, defect)
Hello (Loop)
Server
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: standard8, Assigned: rhubscher)
References
Details
(Whiteboard: [qa!])
Attachments
(1 file)
GET /calls/ needs a version parameter, however even when doing a http://localhost:5000/calls?version=0 request, it returns 400, with:
{ "error": "missing: version" }
From reading the code, it looks like it expects the values to be in the JSON body, but that isn't valid.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → rhubscher
Reporter | ||
Comment 1•11 years ago
|
||
It also requires the Content-Type to be application/json, and I'm not sure that that is really necessary.
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8394726 -
Flags: review?(standard8)
Assignee | ||
Updated•11 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Comment 3•11 years ago
|
||
Comment on attachment 8394726 [details] [review]
Link to GitHub PR.
Looks good, and works locally. r=Standard8
Attachment #8394726 -
Flags: review?(standard8) → review+
Assignee | ||
Comment 4•11 years ago
|
||
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
•