RESTEDClient / RESTED

A REST client for browsers
GNU General Public License v3.0
293 stars 43 forks source link

Basic authorization header is not working #236

Closed ve3 closed 2 years ago

ve3 commented 2 years ago

Example URL: https://mydomain.example/wordpress/wp-json/wp/v2/users?context=edit

Main header

Host: mydomain.example

With Basic auth username: admin password: oxDT EoQg 09BX k7lS e98E SFA7

The result on target URL is 401.

Without Basic auth but manual included Authorization header.

Authorization: Basic YWRtaW46b3hEVCBFb1FnIDA5QlggazdsUyBlOThFIFNGQTc=

The result on target URL is still 401.

The different is I tested these same values on Postman and it worked! (status 200) It is not working only on Rested Client.

ve3 commented 2 years ago

I see it because cookie that is not exclude before send request.