API - POST Users and POST Devices error

Ólavur 9 years ago

Hello,

When I use POST USERS to create a user and then POST DEVICES to add a device the response from devices is 401. But if I POST USERS and then close the application and the open it again at POST DEVICES it works fine.

Anybody knows any solution here?

Ólavur 9 years ago

Problem solved. Mixed username and email in Basic Auth. Works fine :)