You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.
I want to validate a contract based on a POST request that always sends same json body. Tried to define it in several ways(as json schema) , but body is not being send with the request.
to send a param we can do something like below (but how can we do something similar to send a JSON?):
I want to validate a contract based on a POST request that always sends same json body. Tried to define it in several ways(as json schema) , but body is not being send with the request.
to send a param we can do something like below (but how can we do something similar to send a JSON?):
{
"request": {
"http_method": "POST",
"path": "/api/pub/order/simulate",
"headers": {
"Content-Type": "application/json",
"Authorization": "Basic c2VydmljZXM6MTIzNDU2"
},
"params":{
"body": "test"
}
},
"response": {
"status": 200,
"headers": {
"Content-Type": "application/json;charset="UTF-8""
},
"schema": {
"$schema": "http://json-schema.org/draft-03/schema#",
"id" : "sniper order simulation",
"type" : "object",
"properties" : {
}
}
The text was updated successfully, but these errors were encountered: