jj
Size: a a a
jj
jj
P
DK
KY
KY
KY
DK
DK
AA
AA
DK
AA
DK
KY
KY
curl -v -X PUT "http://localhost:1080/mockserver/expectation" -d '{
"httpRequest": {"path": "/some/path"},
"httpResponseTemplate": {
"template": "if (request.method === \"POST\" && request.path === \"/some/path\") { return { statusCode: 200, body: JSON.stringify({name: \"value\"}) }; } else { return { statusCode: 406, body: request.body }; }",
"templateType": "JAVASCRIPT",
"delay": {"timeUnit": "MINUTES", "value": 2}
}
}'
KY
KY
DK
VS