Open sshadmand opened 8 years ago
I got the same issue, but doing the manual insertion of quotes did not work for me. Can @sshadmand , or someone please help?
response = firebase.get('/', "orders", params={"orderBy": "\"CreatedTime\""})
Traceback (most recent call last):
File "test_get_orders.py", line 11, in
Using:
result = firebase_app.get("/", "article", params={"startAt": "100", "orderBy": "msrp"})
Return the errorBad Request for url: https://pennywise.firebaseio.com/article.json?orderBy=msrp&startAt=10
To get it working, a manual insertion of quotes is required.
result = firebase_app.get("/", "article", params={"startAt": "100", "orderBy": "\"msrp\""})
Returns successfullyMy issue, if the orderBy params requires quotes it should be handled in the backend call.