CovidWorld / server

MIT License
17 stars 9 forks source link

Error 401 from Android client #6

Closed esQmo closed 4 years ago

esQmo commented 4 years ago

I finally managed to deploy the server to Azure, all set up and running. However, when the app launches, there is a HTTP 401 error popping. The method that is being called at start up is the one for registering the device to the server. In the debugger I can see the data being sent but the server returns an error instead so the app can't pass to the next step. I've found that the error might be that the function needs an authorization, but is set to anonymous

Below is a test made with Postman:

image

Can you tell which function the client first calls at start up by executing Api(context).createProfile()call?

Thanks for you time.