mirror of
https://github.com/hanzoai/gateway.git
synced 2026-10-30 15:04:44 +00:00
25 lines
586 B
JSON
25 lines
586 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",
|
|
"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"]
|
|
}
|
|
}
|
|
}
|