# Http component issue

**URL:** <https://forum.cloverdx.com/t/http-component-issue/1045>\
**Category:** CloverDX Platform\
**Created:** [April 4, 2012, 12:00am UTC](https://forum.cloverdx.com/t/http-component-issue/1045 "2012-04-04T00:00:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![poctavian](https://avatars.discourse-cdn.com/v4/letter/p/45deac/32.png) [@poctavian](https://forum.cloverdx.com/u/poctavian)\
**Post date:** [April 4, 2012, 12:00am UTC](https://forum.cloverdx.com/t/http-component-issue/1045/1 "2012-04-04T00:00:00Z")

</div>

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:

```auto

https://c1aa2ff1be7f:083cfc27e7c347@store-name.myshopify.com/admin/orders.xml.

```

Any thoughts?

Thanks.

---

<div class="post-metadata">

**Author:** ![David\_Hlidek](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@David\_Hlidek](https://forum.cloverdx.com/u/David_Hlidek)\
**Post date:** [April 4, 2012, 6:52am UTC](https://forum.cloverdx.com/t/http-component-issue/1045/2 "2012-04-04T06:52:41Z")

</div>

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://en.wikipedia.org/wiki/Basic%5Faccess%5Fauthentication)  
\* [http://www.faqs.org/rfcs/rfc1738.html#b](http://www.faqs.org/rfcs/rfc1738.html#b) (3.1. Common Internet Scheme Syntax)

---

<div class="post-metadata">

**Author:** ![poctavian](https://avatars.discourse-cdn.com/v4/letter/p/45deac/32.png) [@poctavian](https://forum.cloverdx.com/u/poctavian)\
**Post date:** [April 4, 2012, 11:39pm UTC](https://forum.cloverdx.com/t/http-component-issue/1045/3 "2012-04-04T23:39:15Z")

</div>

Hi Kubosj,

It’s now working. Number 2 did the trick. Appreciate your help.

Thanks
