0
Besvaret

Pass JSON data to the API call

Anonym 5 år siden i Studio opdateret af Gandalf 5 år siden 1

I want to pass JSON data to the web POST. The incoming parameter is of type (application/json). How should I configure the variables to send JSON input?

service studio workflow variables
Besvaret

Im assuming you want to pass JSON data out of Warewolf and into an existing web service (not on Warewolf) which has inputs that are JSON data.


You can convert your variables to JSON using the Create JSON tool:


Consider the above example. If the value of [[mydata]] was 1234, then after execution, the value of [[mydata]] would be: {"mydata":1234}

Kundesupport af UserEcho