Home > Forum > Actions > How get value from Header in Rest API response ?

How get value from Header in Rest API response ?
0

I want to use "Invoke rest web service request" action and in response I don't have json but message in Header:


Response-Code:
Forbidden (403)

Response-Body:
{"type":"/challenge","title":"Challenge requested","status":403,"detail":"Request to perform challenges described","instance":"fe66c6a2-2cc5-42f9-a4ce-96bea7cd716b"}
Response-Header:
Date: Thu, 28 Sep 2023 07:06:57 GMT
Connection: keep-alive
Vary: Origin, Access-Control-Request-Method, Access-Control-Request-Headers
x-challenge: eyJjbGFzc2lmaWVycyI6WyJDSEF......................XRhIjp7fX1dfX0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate



How get Response-Header:x-challenge in "invoke REST Web service" action ?

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.