Capture HTTP headers

how to do “capture HTTP headers in network api response”


$ curl -i

HTTP/1.1 200 OK
Server: nginx/1.2.2
Date: Sun, 19 Jan 2014 07:38:49 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: Express
X-Amz-Cf-Id: NBPLjSE6cr2qIBt1VdanDkNDpJmIP1V9VlqpJlfyHpjkm_ldJH5SVg==
{“pong”:“Response from API”}

i want to store response headers “X-Amz-Cf-Id:” into a variable. how to do it?

Hello @Govindja_dev

Do you want to make a request to some server and then read the response header, am I right?
If so, it is not possible using codeless, I would recommend you to create a simple API Service using Javascript and then use the service inside your Codeless logic

Regards, Vlad

Thanks for your respone.

Yes, it is true. I want to read the response from the server header