Skip to main content
Solved

Customize custom projection's response headers


Forum|alt.badge.img+7
  • Sidekick (Partner)
  • 18 replies

Hi all,

 

We are developing multiple custom projections in IFS Cloud and have a requirement to add a custom field and value to the response headers. Is it at all possible to manipulate the response headers being sent back when a custom projection is executed?

 

Thanks,

 

Manuel

Best answer by Trewon

Hi @mtoca 

This is not possible, It’s not possible to manipulate response headers of APIs exposed through custom projections. 

 

/Trewon

View original
Did this topic help you find an answer to your question?

4 replies

Forum|alt.badge.img+6
  • Hero (Employee)
  • 35 replies
  • Answer
  • December 5, 2023

Hi @mtoca 

This is not possible, It’s not possible to manipulate response headers of APIs exposed through custom projections. 

 

/Trewon


Forum|alt.badge.img+7
  • Author
  • Sidekick (Partner)
  • 18 replies
  • December 5, 2023

@Trewon Thanks for your quick reply.


Forum|alt.badge.img+7
  • Author
  • Sidekick (Partner)
  • 18 replies
  • January 15, 2024

Hi @Trewon, would it be possible to simply capture one of the response header values in the code?

For example, I want to capture the “x-ifs-request-id” response header that is being sent from a custom projection and store it somewhere.


Forum|alt.badge.img+7
  • Author
  • Sidekick (Partner)
  • 18 replies
  • January 18, 2024

An additional question that I have, is there a way to retrieve and manipulate the Request Headers from a call to an inbound custom projection?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings