Skip to content

Fix HTTP 400 errors for certain post requests #208

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

Closed
wants to merge 2 commits into from

Conversation

ianpittwood
Copy link

This is one possible fix I came up with for issue #207. By moving owner, app, and sharing from arguments to kwargs in the post method, they will be included in the request body. This will fix any 400 errors that result from owner, app, or sharing being left out of REST requests that require them to be explicitly defined in the body of the request.

apruneda and others added 2 commits June 7, 2018 12:46
Updated the Support Policy.
@tdhellmann
Copy link
Contributor

@sketchypotato - thanks for the (very detailed!) issue report and PR!

One quick note - this approach will cause a breaking change, so we're going to take a look at doing this without changing the method signature.

@tdhellmann
Copy link
Contributor

See also: #231

@wcastello wcastello mentioned this pull request Jan 6, 2019
@ashah-splunk
Copy link
Contributor

@ianpittwood thank you for the PR, the issue #207 has been fixed sometime back hence closing this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants