How tp5.0 obtain Authorization header value of

How tp5.0 obtain Authorization header value of
$ request-> header (); this does not seem to value
but to send some request headers

 

solution:

Was added in the .htaccess file provided SetEnvIf Authorization ^ (. *) HTTP_AUTHORIZATION = $ 1

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/yehuisir/p/11521297.html