We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have an authenticated session, which I can successfully make GET requests to the Basecamp API.
GET
If I send a PUT request with:
PUT
r = session.put('https://3.basecampapi.com/.../mydoc.json', data='{"title":"blah","content":"test"}', params={'format': 'json'}) print r.json()
Then I receive:
{u'status': 400, u'error': u'Bad Request'}
I have tried also sending data={"title":"blah","content":"test"} but get the same error.
data={"title":"blah","content":"test"}
I am able to successfully PUT to the endpoint using CURL, e.g.
curl -s -H "Authorization: Bearer s9s9sd" -H "Content-Type: application/json" \ -d '{"title":"blah","content":"test"}' -X PUT https://3.basecampapi.com/...mydoc.json
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have an authenticated session, which I can successfully make
GET
requests to the Basecamp API.If I send a
PUT
request with:Then I receive:
I have tried also sending
data={"title":"blah","content":"test"}
but get the same error.I am able to successfully PUT to the endpoint using CURL, e.g.
The text was updated successfully, but these errors were encountered: