Customer Portal

Does HTTP Connector work in a localhost?

Comments 3

  • Avatar
    admin
    0
    Comment actions Permalink
    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/....
  • Avatar
    jed_uretlguy
    0
    Comment actions Permalink
    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.
  • Avatar
    admin
    0
    Comment actions Permalink
    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)

Please sign in to leave a comment.