Solved

can we programatically manipulate the HTTP status code that is returned by a HTTP connector?

  • 8 February 2024
  • 1 reply
  • 25 views

Userlevel 3
Badge +5

When we receive a json containing data and the task that processes the data fails (incorrect foreign key for example) the response json is always returned with status code 200 OK.
Can I change that?
I see it is an output parameter but in the documentation isn't clear about if it is editable.

icon

Best answer by Vincent Doppenberg 8 February 2024, 11:55

View original

This topic has been closed for comments

1 reply

Userlevel 6
Badge +4

Hello @Alban_T,

Yes, this is possible by using a custom protocol process flow. Please check this two part blog post on how you can achieve this. Note that when calling this process flow, the URL should contain an /open/ segment, like this:

<indicium>/open/iam/my_appl/my_process_flow

I hope this helps.