Update HTTP workflow action to new requests API
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -277,6 +277,7 @@
|
||||
clarity.
|
||||
* Add note about the new preparestatic command.
|
||||
* Add no-result template for workflow instance detail view.
|
||||
* Update HTTP workflow action to new requests API.
|
||||
|
||||
3.1.11 (2019-04-XX)
|
||||
===================
|
||||
|
||||
@@ -166,4 +166,4 @@ class HTTPPostAction(WorkflowAction):
|
||||
|
||||
logger.debug('payload json result: %s', payload)
|
||||
|
||||
requests.post(url=url, data=payload, timeout=self.form_data['timeout'])
|
||||
requests.post(url=url, json=payload, timeout=self.form_data['timeout'])
|
||||
|
||||
Reference in New Issue
Block a user