Problem retrieving data from server

I am having problems fetching data. It gives CFHTTPMessageGetResponseStatusCode(response) as 302

. Can anyone help me solve this problem? problem?

+1


a source to share


1 answer


Straight from the horse's mouth ( RFC2616, sec.10.3.3 ):

302 Items found

The requested resource is temporarily under a different URI. Since the redirection can sometimes be changed, the client MUST continue to use the Request-URI for future requests.



In other words, it is a redirect: "what you are looking for is there now." Check response header Location: - your new url you need to get.

+3


a source







All Articles