I have a problem with getting authenticated user. Before it I got token and user id. Now i need to get user from server using access token and id. I have header format
I got it. It's must look like:
@GET("driver/v1/driver") Call getAuthorizedDriver(@Header("authorization") String auth);
And auth:
Call call = apiInterface.getAuthorizedDriver("Token token=" + token + ", driver_id=" + id);