Laravel API Request - “Unauthorized” - Stack Overflow

PHOTO EMBED

Fri May 26 2023 17:14:54 GMT+0000 (Coordinated Universal Time)

Saved by @oday #php

{
   error: {
     message: "Unauthorized"
   }
}


If you removed Auth middleware but still getting unauthorized means there may be route cache. Try using php artisan route:clear and check.


content_copyCOPY

https://stackoverflow.com/questions/67227913/laravel-api-request-unauthorized