Answers for "Laravel API Endpoint "401 Unauthorized" on Server But Works Fine On Localhost"

PHP
0

Laravel API Endpoint "401 Unauthorized" on Server But Works Fine On Localhost

add this following code in .htaccess file
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
Posted by: Guest on January-01-2022

Code answers related to "Laravel API Endpoint "401 Unauthorized" on Server But Works Fine On Localhost"

Browse Popular Code Answers by Language