Welcome Guest, Not a member yet? Register   Sign In
Getting Header Location from Phil's Rest client
#1

[eluser]Unknown[/eluser]
Is there any way to get the location from the header from Phil's rest_client? When I do a POST to retrieve an image which is in the location, I am only getting the xml result. I will need the location from the header as well. Any help, thanks.

when I put
$this->option(CURLOPT_HEADER, TRUE);
on sparks/curl/1.2.0/libraries/curl.php

I get the headers and the xml response but am now getting an error when the rest client formats the response.




Theme © iAndrew 2016 - Forum software by © MyBB