Forum Discussion
Anyone? Should basic auth at the endpoint level propagate down to the resources, methods, requests?
- breaux9 years agoContributor
If I set user/password here, at the endpoint level:
It is not passed in the request underneath that. I have to manually then add it to the request itself:
This is a lot of duplicated work and makes me think I'm doing something incorrect.
- breaux9 years agoContributor
Hmmm... I noticed when I went back to the endpoint that the password was blank again. After I eventually got it to "stick" (by hitting enter), now it seems the authentication is being passed down. I had also just recently "Assign"ed it to the endpoint, which I hadn't done before.
- breaux9 years agoContributor
Never mind. That was on a second REST project.
On the first, I still get:
"Error getting response; org.apache.http.client.ClientProtocolException"
if I remove the Basic Auth from the individual request and attempt to fall back to what's defined at the endpoint:
Related Content
- 6 years ago