Replies: 2 comments
-
Hi, See: https://www.membrane-api.io/docs/current/router.html Then your code snippets should work. But usually Membrane sets it to the right value. I would first check how the headers are set using a log inside your serviceProxy:
Then make the call and have a look at the console. Cheers |
Beta Was this translation helpful? Give feedback.
-
Hi Thomas, Thank you for taking time to answer.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
A backend web service that used to work for years has stopped working because it looks like a control is now made on the Host header in the request.
The web service still works with a curl command when accessed without membrane.
This call works
This call does not work anymore:
My membrane version is 5.5.9
Service configuration is very simple:
How can I overwrite the Host header before the request is sent to the target ?
I have tried with groovy and setHeader but none of them seem to work.
Web service response
Beta Was this translation helpful? Give feedback.
All reactions