Hi there!
I am trying to use TA-Webtools for start a automation flow. To do this I need to make a POST request as below
curl -k -X POST -H "Content-type: application/json" --data '{"flowUuid":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx","inputs":{"A1": "B1","A2":"B2"}}' "https://server:8080/xxx/rest/v2"
Using TA-Webtools I am using the search command below
<my search> | curl method=POST data="{'flowUuid':'xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'}" uri=https://server:8080/xx/rest/v2
This command isn't working because are missing the header "Content-type: application/json".
How can I include this?
I think that I need to edit the python scripts, but how ?
... View more