API & Login issue

Forums Support API & Login issue
isabelle.lepez less than a year ago - 2016-04-04 14:38:57
Hi all, 

I'm having an issue to authenticate using the api.
I'm on my way to create an android application and currently testing the api.
Displaying listings works fine, but when I call the /auth/login url I get a 401/wrong api key. The API key is correct since I can display listings.

The url used to try to authenticate is the following:

Could anyone help me figuring out what's wrong?

Thanks a lot! 

Chema less than a year ago - 2016-04-04 15:31:23
Hello Isabelle,

We do have an android app already developed! ;)

isabelle.lepez less than a year ago - 2016-04-04 15:33:28
Yes, I know :)
I'm currently finishing a training in Android/Swift and decided to make an android/Swift app based on your system.

Do you have any clue regarding my issue?

Thanks a lot, 

Chema less than a year ago - 2016-04-04 15:56:55
as you described it should work properly, you can use post or get params and both should work perfectly.

I have just tried it on a site hosted at Yclas and no issue.

What error do you see?

also if you plan to use this you will need to enable HTTPS for security reasons.