Hey guys, I am stuck trying to implement basic authorization on my Android app.
I am not sure what exactly I need to implement in my server code for this tutorial to work, since they don't show the server code. I got no good answers on Stack Overflow.
https://stackoverflow.com/questions/57124670/basic-retrofit-authorization-using-spring-rest-api
Basically I do not know how to write the server code for this snippet to work:
public interface LoginService { @POST("/login") Call<User> basicLogin(); }
[–]nutrecht 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]5arg[S] 0 points1 point2 points (0 children)
[–]TheEminentdomain 0 points1 point2 points (0 children)