Explicitly pass HTTP method to fetch_url

pull/43151/head
Eric Coutu 6 years ago committed by Toshio Kuratomi
parent 6db074e7af
commit ab3475e3f9

@ -120,7 +120,7 @@ def main():
try:
data = urlencode(params)
response, info = fetch_url(module, url, data=data)
response, info = fetch_url(module, url, data=data, method='POST')
except Exception as e:
module.fail_json(msg='Unable to notify Rollbar: %s' % to_native(e), exception=traceback.format_exc())
else:

Loading…
Cancel
Save