Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Combining static and dynamic parts in a response header mapping expression

I'd like to build a response header by combining a static part with info from the body, something like:

'/resources/' + integration.response.body.id

That gives me "Invalid mapping expression specified".

Is it not possible, or is my syntax just wrong?

like image 633
Free Willaert Avatar asked Nov 24 '25 08:11

Free Willaert


1 Answers

Unfortunately, such complex expressions are not possible in header mapping expressions currently. Header values may be a single mapping expression or a static string value.

This is a request we have heard from other customers and will definitely consider it as we add additional functionally to the service.

like image 194
Bob Kinney Avatar answered Nov 26 '25 21:11

Bob Kinney



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!