Skip to content

KONG 3.0.0 - http.headers.X-Consumer-Username missing in header from request routed #12722

Discussion options

You must be logged in to vote

Hi Hans,

I created the proxy reference in the route path as "/api/v2/customer/CL\d+/payroll".After referring the documentation [https://docs.konghq.com/gateway/latest/how-kong-works/routing-traffic/#request-path], I realised that I have put the ~ in the path to treat it as regex.I don't know how I missed it but I should have created the path as "~/api/v2/customer/CL\d+/payroll" which resolved the issue.

Thanks for the response.

-Kamal

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kamalnagpalsirion
Comment options

Answer selected by kamalnagpalsirion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants