Updated Response Templating (markdown)

Stef Heyenrath
2018-09-07 08:53:21 +02:00
parent adaf60d3fe
commit 5087a200c4

@@ -77,8 +77,6 @@ Or using the admin mapping file:
]
},
"Response": {
"StatusCode": 200,
"BodyDestination": "SameAsSource",
"Body": "{{JsonPath.SelectToken request.body \"$.Manufacturers[?(@.Name == 'Acme Co')]\"}}",
"UseTransformer": true,
"Headers": {
@@ -105,7 +103,6 @@ Note that also replacing values in a Json Object and returning a the body as Jso
]
},
"Response": {
"StatusCode": 200,
"BodyAsJson": {
"path": "{{request.path}}",
"result": "{{JsonPath.SelectToken request.bodyAsJson \"username\"}}"