Solved

Customize custom projection's response headers

  • 5 December 2023
  • 4 replies
  • 56 views

Badge +7
  • Sidekick (Partner)
  • 17 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

icon

Best answer by Trewon 5 December 2023, 19:56

View original

4 replies

Userlevel 2
Badge +6

Hi @mtoca 

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

 

/Trewon

Badge +7

@Trewon Thanks for your quick reply.

Badge +7

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.

Badge +7

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