mirror of
https://github.com/hanzoai/gateway.git
synced 2026-10-30 15:04:44 +00:00
37 lines
777 B
JSON
37 lines
777 B
JSON
{
|
|
"in": {
|
|
"method": "POST",
|
|
"url": "http://localhost:8080/param_forwarding/some/foo/bar?a=1&b=2",
|
|
"header": {
|
|
"autHoriZatiOn": "bearer 123456",
|
|
"x-y-Z": "true",
|
|
"a-b-c": "ignore"
|
|
},
|
|
"body": {"foo":"bar"}
|
|
},
|
|
"out": {
|
|
"status_code": 200,
|
|
"body": {
|
|
"body": "{\"foo\":\"bar\"}",
|
|
"foo":42,
|
|
"headers":{
|
|
"Accept-Encoding":["gzip"],
|
|
"Authorization":["bearer 123456"],
|
|
"User-Agent":["KrakenD Version 2.12.1"],
|
|
"X-Forwarded-Host":["localhost:8080"],
|
|
"X-Y-Z":["true"]
|
|
},
|
|
"path":"/param_forwarding/bar",
|
|
"query":{
|
|
"dump_body":["1"],
|
|
"foo":["foo"]
|
|
}
|
|
},
|
|
"header": {
|
|
"content-type": ["application/json; charset=utf-8"],
|
|
"Cache-Control": ["public, max-age=3600"],
|
|
"X-Krakend-Completed": ["true"]
|
|
}
|
|
}
|
|
}
|