keenlabs / KeenClient-Python

Official Python client for the Keen IO API. Build analytics features directly into your Python apps.
https://keen.io/docs
MIT License
133 stars 58 forks source link

Add support to POST a query #130

Open hex337 opened 7 years ago

hex337 commented 7 years ago

Right now, all queries are sent via a GET, which can have limits on its length. Would be great to have the option to POST a query with the params in the body.

BlackVegetable commented 7 years ago

Is there a reason we wouldn't want POST to be the default here? @dkador

dkador commented 7 years ago

No.

BlackVegetable commented 7 years ago

Changing this will break a lot of tests. The actual change is very simple and works out of the box. Just... the tests are very angry.

dkador commented 7 years ago

Yes, we'll need to fix up the tests. :)