Wendigo
13 years agoOccasional Contributor
How to get header data from a RAW response into a parameter
I need to get a url in the header from a RAW response into a parameter.
How can I get the Location url into that parameter named e.g. location ?
The complete raw response (including body) looks like this:
----------------------
HTTP/1.1 201 Created
Server: some-server-idenifier
Location: https://some-server:some-port/some/url/unique-token
Date: Mon, 18 Jun 2012 07:11:11 GMT
Content-Type: application/some-content-type
Content-Length: 2
[]
----------------------
BR
/Wendigo
How can I get the Location url into that parameter named e.g. location ?
The complete raw response (including body) looks like this:
----------------------
HTTP/1.1 201 Created
Server: some-server-idenifier
Location: https://some-server:some-port/some/url/unique-token
Date: Mon, 18 Jun 2012 07:11:11 GMT
Content-Type: application/some-content-type
Content-Length: 2
[]
----------------------
BR
/Wendigo