Jump to content

Recommended Posts

Hi,

 

We are trying to recive a customer list via WebService in PrestaShop 1.5.4 and the folowing error message is returned:

 

This call to PrestaShop Web Services returned an unexpected HTTP status of:302

 

I have made several tests, including the suplied code available on git (https://codeload.github.com/PrestaShop/PrestaShop-webservice-lib/zip/master) and the result is always the same.

 

This issue occurs only in version 1.5, while it is working with no problems in the previous versions.

 

Details of the request:

 

HTTP REQUEST HEADER

 

GET /pack20/api/customers HTTP/1.1

Authorization: Basic N0EwUkkwMDBYM0YzSkZXVUhDWjFDSExDQzIyQUxMVVc6

Host: www.pack4pet.com.br

Accept: */*

 

 

HTTP RESPONSE HEADER

 

HTTP/1.1 302 Moved Temporarily

Date: Thu, 08 Aug 2013 13:38:35 GMT

Server: Apache

location: http://pack4pet.com.br/pack20/api/customers?url=customers

Content-Length: 0

Content-Type: text/html; charset=utf-8

 

RETURN HTTP BODY

 

302

Link to comment
Share on other sites

×
×
  • Create New...