In Postman, when we are sending a request and need to pass the parameters as x-www-form-urlencoded, we do the following:
In the Header we will put content type as:
Content-Type: application/x-www-form-urlencoded
And in the Body we select the x-www-form-urlencoded option and define the parameters in the Key-Value fields as shown here:
In Adeptia Connect's WS Consumer, we need to do the following:
Put the Content-Type in the Header as shown here:
And pass the url encoded parameters with the following format:
param1=data1¶m2=data2¶m3=data3 and so on.
You can create a Process Flow variable and pass these parameters through Context Source as shown below or pass the parameters via File Source.
Flow design: WS Consumer should have Consume Stream set to True.
Comments
0 comments
Please sign in to leave a comment.