Skip to content
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

[DOC] Fix JSON payload example in HTTP tutorial #50158

merged 1 commit into from Oct 22, 2018


None yet
3 participants
Copy link

commented Oct 22, 2018

What does this PR do?

It corrects the HTTP tutorial doc page in the POST method with JSON example.

The http.query method will try to urlencode Python dictionary if supplied as data kwarg.
If you'd like to sent a JSON payload, the internal dictionary representation must be serialized with json.dumps() method instead of loads().

Tests written?


Commits signed with GPG?


@rallytime rallytime merged commit aa66d1b into saltstack:2017.7 Oct 22, 2018

2 checks passed

continuous-integration/jenkins/pr-merge This commit looks good
jenkins/pr/py2-ubuntu-1604 The py2-ubuntu-1604 job has passed

@vutny vutny deleted the vutny:doc/2017.7/fix-http-tutorial branch Oct 23, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.