-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
When writing the route for update_record(), I found that the REST server considered my request invalid when I passed my parameters to the "params" field of the self.handler.put() call. The request would only work when I passed parameters to the "json" field. I created a quick workaround to make this work with a boolean parameter; see commit #9f26b93.
(As far as I understand this has something to do with PUT vs. GET requests. So far, params seems to only work with GET requests, but json seems to only work with PUT requests. I believe GET requests to not allow or should not be passed a body.)
We are going to need to re-structure the @register_route wrapper. Currently we are passing params=params to self.opts**, necessitating a workaround here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels