Skip to main content
Solved

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

  • February 8, 2024
  • 1 reply
  • 50 views

Forum|alt.badge.img+6

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.

Best answer by Vincent Doppenberg

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.

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

1 reply

Forum|alt.badge.img+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.


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