Hi,
Is it possible to capture and use the response header to determine next step? Is it done via the output value somehow?
Solved! Go to Solution.
Hi Vtey,
So instead of pulling output values from the response body, you would like to pull information from the response headers? That is not a use case we've heard a lot about, so I am curious what sort of information you are looking at in the headers and how you are trying to route based on that.
If you just need to route based on the status code of the response, such as 200 for success, that is available as an output value, but the response headers are not currently accessible as output values.
Hi Vtey,
So instead of pulling output values from the response body, you would like to pull information from the response headers? That is not a use case we've heard a lot about, so I am curious what sort of information you are looking at in the headers and how you are trying to route based on that.
If you just need to route based on the status code of the response, such as 200 for success, that is available as an output value, but the response headers are not currently accessible as output values.
Hi Sam, my apologies, I should have read further down the documentation 🙂
That would work for me.
Glad to hear it!
Hi Sam,
Just to provide you with context why we need the header response, We are planning to develop a solution using ArcGIS Online for a client. As custom GP isn't supported in ArcGIS Online, I am planning to replace that with Azure function.
Azure function has a timeout of 240s for http (can't be changed) hence we are looking at using durable function.
We need the "location" in the header to "poll". However based on your response, I don't think we can do that.
Cheers
Hi,
Hope you doing good.. I am currently trying to update feature using the Send Web Request which I see you were able to successfully achieve. Could you please help me with the syntax/snippet of the post request. The update feature works fine on the rest end point but fails in the Work flow.
Any help would be highly appreciated.
Regards,
Palak