Files

25 lines
590 B
JSON

{
"in": {
"method": "OPTIONS",
"url": "http://localhost:8080/param_forwarding/some/foo/bar?a=1&b=2",
"header": {
"User-Agent": "some",
"Origin": "http://foo.example.tld",
"Access-Control-Request-Method": "GET",
"Access-Control-Request-Headers": "content-type,origin"
}
},
"out": {
"status_code": 204,
"body": "",
"header": {
"content-type": [""],
"Cache-Control": [""],
"X-Krakend-Completed": [""],
"Access-Control-Allow-Origin": ["*"],
"Access-Control-Allow-Methods": ["GET"],
"Access-Control-Allow-Headers": ["content-type,origin"]
}
}
}