Open akrabat opened 6 years ago
Given that I have an API gateway set up like this: wsk api create /base /test GET test -n testapi --response-type http, then I can access it like this:
wsk api create /base /test GET test -n testapi --response-type http
$ curl https://service.eu.apiconnect.ibmcloud.com/gws/apigateway/api/2fb...be1/base/test
Inspecting __ow_headers, I find this:
__ow_headers
"x-forwarded-url": "https://service.eu.apiconnect.ibmcloud.com/gws/apigateway/api/2fb...be1/base/test", "x-forwarded-port": "8080",
The URL is correct, but the port should be 443.
443
@akrabat in your opinion, should we just remove the x-forwarded-port header?
x-forwarded-port
I think that x-forwarded-port should be correct.
443 in this case.
Given that I have an API gateway set up like this:
wsk api create /base /test GET test -n testapi --response-type http
, then I can access it like this:Inspecting
__ow_headers
, I find this:The URL is correct, but the port should be
443
.