Skip to main content
Solved

Customize custom projection's response headers

  • Dec 5, 2023 6:12 PM UTC
  • 4 replies
  • 167 views

Forum|alt.badge.img+7

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

4 replies

Forum|alt.badge.img+6
  • Hero (Employee)
  • Answer
  • Dec 5, 2023 6:56 PM UTC

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)
  • Dec 5, 2023 7:08 PM UTC

@Trewon Thanks for your quick reply.


Forum|alt.badge.img+7
  • Author
  • Sidekick (Partner)
  • Jan 15, 2024 3:44 PM UTC

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)
  • Jan 18, 2024 7:32 PM UTC

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?