An error 401 unauthorized
means that the request is rejected due to invalid credentials. I make a request to the https
URL using modification and getting it 401 unauthorized
when curl https://external:userName@api-staging.xyz.com/user/get
it works it works fine for me (getting the expected result).
There is nothing wrong with implementing Retrofit
in mine application
, because other calls work fine. Is it something that I cannot pass such a URL to retrofit.setEndpoint
?
user5063816
source
share