1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

urls: fix typo in examples section (#39777) (#39778)

This commit is contained in:
Kami Gerami 2018-05-10 04:02:17 +02:00 committed by Jordan Borean
parent a7d7df1450
commit 3d315244af

View file

@ -1012,8 +1012,8 @@ def fetch_url(module, url, data=None, headers=None, method=None,
data={...} data={...}
resp, info = fetch_url(module, resp, info = fetch_url(module,
"http://example.com", "http://example.com",
data=module.jsonify(data) data=module.jsonify(data),
header={'Content-type': 'application/json'}, headers={'Content-type': 'application/json'},
method="POST") method="POST")
status_code = info["status"] status_code = info["status"]
body = resp.read() body = resp.read()