-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get the API to work #362
Comments
oh wow. yeah, everything looks right - it's definitely taskId instead of taskName (but if the task id doesn't exist in the system, it will create a new task with that id). I'll check into this |
Oops, I didn't convert my payload to json. |
Well this is still an issue. It shouldn't return 200 for a malformed request. Looking into this. |
had to enforce application/Json for api requests to bypass splash.html
|
I'm having problems getting the API to work. I get a 200, with the data as html. But when I check my stats on the website, nothing has changed.
I'm using Python, and the requests library. My code is
The response I get is -
I thought it might be because task name, and task-id are different, so after a digging around, I found some habit-ids and tried using them in place of task name - didn't work either.
The text was updated successfully, but these errors were encountered: