From 3d315244af602ce107f927ea147336b378380ac2 Mon Sep 17 00:00:00 2001 From: Kami Gerami Date: Thu, 10 May 2018 04:02:17 +0200 Subject: [PATCH] urls: fix typo in examples section (#39777) (#39778) --- lib/ansible/module_utils/urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/module_utils/urls.py b/lib/ansible/module_utils/urls.py index 46e1e2d891..26af6f2d70 100644 --- a/lib/ansible/module_utils/urls.py +++ b/lib/ansible/module_utils/urls.py @@ -1012,8 +1012,8 @@ def fetch_url(module, url, data=None, headers=None, method=None, data={...} resp, info = fetch_url(module, "http://example.com", - data=module.jsonify(data) - header={'Content-type': 'application/json'}, + data=module.jsonify(data), + headers={'Content-type': 'application/json'}, method="POST") status_code = info["status"] body = resp.read()