Does HTTP Connector work in a localhost?

Hello,

I have a quick question. Does HTTP Connector work in a localhost? I have prestashop installed in my localhost, I’m trying to pull data from it using a REST webservice but Clover couldn’t get the data using HTTP Connector. However, I’ve tried testing it using a REST Client instead and it has all those data I need.

I will appreciate any reply to this query.

Thanks,

Hi jed_urETLguy,

yes localhost works with HttpConnector. You can try to use 127.0.0.1 alternatively, or even external IP of your machine. For localhost there are same requirements for URI format as when other machine is accessed. So it should look like http://localhost:PORT/....

I have a sample URI here:


http://QDHJJJDS45IUC4J4FOCN40TDUR72695I@localhost/prestashop/api/products/?display=full

Using an HTTP Connector, that supposedly create an XML file. The is a REST web service to pull the products in my Prestashop setup in my localhost. But it’s not able to pull those data. But I’ve tried that URI in a REST Client, and it’s able to pull those data. I’m really confused now why it’s now working.

I would try to do 2 things:

* observe server’s logs (possibly enable detailed one)
* try also http://name:password@localhost/.... (http://doc.cloveretl.com/documentation/ … aders.html)