solved Create user / invalid key

Black-Eagle
Black-Eagle
@black-eagle
9 years ago
57 posts
Hello everybody,

I can not create a user Proxima.
Broswer answer : {"code":401,"text":"Unauthorized","note":"invalid application key"}

Yet I modified the HTTP header of my browser (Firefox) with the "Modify Headers" module.

Is my configuration correct ?

Can you send requests to Proxima with its Internet browser?

Thank you for help.
Test.jpg
Test.jpg  •  59KB


updated by @black-eagle: 01/17/16 04:19:44AM
brian
@brian
9 years ago
10,148 posts
Proxima uses HTTP basic Authentication:

https://en.wikipedia.org/wiki/Basic_access_authentication

You need to make sure the value is base64 encoded - I've not actually tried to do it using Firefox (I have a test suite I use that uses command line curl) but it _should_ work as long as the authentication header's value is correct.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Black-Eagle
Black-Eagle
@black-eagle
9 years ago
57 posts
Hi Brian,

my authentication header's value was wrong.
I tried again and I could create a new user successfully.

Thank You.
brian
@brian
9 years ago
10,148 posts
Black-Eagle:
Hi Brian,

my authentication header's value was wrong.
I tried again and I could create a new user successfully.

Thank You.

Glad to hear that you got it working - thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags