-
Notifications
You must be signed in to change notification settings - Fork 48
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
Fix json body request apis #78
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I applied this change to my env and it works great. Nice catch!
When I went to apply the change, I noticed a number of other requests in which dictionary data was conveyed in data=
rather than json=
. I don't really use any others, but wondering if those should be changed as well?
Its highly possible but I don't have necessary configured cluster to test them sadly. |
I think we should change them all. Looking at the requests package, we'll get the appropriate encoding if In my attached test code, I was passing in the actual json when submitting the application. This was associated with a
Once I change Since we document the |
@kevin-bates alright, pushed the commit and renamed the PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Dmitry! Given the evidence of the methods that are used, I think this is the right approach.
Fix #75