Hi,
I’m trying to make an API call using GET method and I’m just confused as to why I’m able to get a valid response using the browser and the rest client but I’m getting an “[API] Invalid API key or access token (unrecognized login or wrong password)” when I use the http component in clover. Here’s the GET URL:
https://c1aa2ff1be7f:083cfc27e7c347@store-name.myshopify.com/admin/orders.xml.
Any thoughts?
Thanks.
Hi pOctavian,
I would try 2 things:
1] set “Authentication method” of HttpConnector to “Basic” (because what you do is Basic HTTP authentication, just password+username are passed by uri not in HTTP headers)
2] if that won’t help move your login and password from uri to properties of HttpConnector (keep “Authentication method” = “Basic” )
then it should work
some useful reading:
* http://en.wikipedia.org/wiki/Basic_acce … entication
* http://www.faqs.org/rfcs/rfc1738.html#b (3.1. Common Internet Scheme Syntax)
Hi Kubosj,
It’s now working. Number 2 did the trick. Appreciate your help.
Thanks