mirror of
https://github.com/hanzoai/gateway.git
synced 2026-10-30 15:04:44 +00:00
24 lines
749 B
JSON
24 lines
749 B
JSON
{
|
|
"in": {
|
|
"method": "GET",
|
|
"url": "http://localhost:8080/param_forwarding/some/foo/bar",
|
|
"header": {
|
|
"User-Agent": "some",
|
|
"Origin": "http://foo.example.tld"
|
|
}
|
|
},
|
|
"out": {
|
|
"status_code": 200,
|
|
"body": "{\"foo\":42,\"headers\":{\"Accept-Encoding\":[\"gzip\"],\"User-Agent\":[\"KrakenD Version 2.12.1\"],\"X-Forwarded-Host\":[\"localhost:8080\"]},\"path\":\"/param_forwarding/bar\",\"query\":{\"foo\":[\"foo\"]}}",
|
|
"header": {
|
|
"content-type": ["application/json; charset=utf-8"],
|
|
"Cache-Control": ["public, max-age=3600"],
|
|
"X-Krakend-Completed": ["true"],
|
|
"X-Krakend": ["Version 2.12.1"],
|
|
"Vary": ["Origin"],
|
|
"Access-Control-Allow-Origin": ["*"],
|
|
"Access-Control-Expose-Headers": ["Content-Length"]
|
|
}
|
|
}
|
|
}
|