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 ?