Closed puria closed 2 years ago
STATEMENT: Given I connect to 'endpoint' and pass it the content of 'myDataToPOST' and save the output into 'dataFromEndpoint'
Given I connect to 'endpoint' and pass it the content of 'myDataToPOST' and save the output into 'dataFromEndpoint'
With the following DATA:
"myDataToPOST": { "id": "XXXXXXXXXXXXXXXXXXXXXXXXX", "recurseLimit": 2 },
with the endpoint:
{ "endpoint": "http://reflow-demo.dyne.org:4000/api/json/trace" }
acting like:
curl -XPOST -Hcontent-type:application/json -d'{"id": "XXXXXXXXXXXXXXXXXXXXXXXXX", "recurseLimit": 2}' -k http://reflow-demo.dyne.org:4000/api/json/trace
STATEMENT:
Given I connect to 'endpoint' and pass it the content of 'myDataToPOST' and save the output into 'dataFromEndpoint'
With the following DATA:
with the endpoint:
acting like: