Version Information
PHP Version: 7.4.5
Laravel Version: 7.11
Package Version (l5-api): ^2.0
Describe the bug
After installing and creating an example controller and model using command php artisan make:api-resource Book, I get an error when sending a request to API. Headers are setted on request.
So it seems like you didn't specify the model name inside of the controller's $model property. You need to do that. You can find examples in the docs (in the wiki)
Version Information PHP Version: 7.4.5 Laravel Version: 7.11 Package Version (l5-api): ^2.0
Describe the bug After installing and creating an example controller and model using command
php artisan make:api-resource Book
, I get an error when sending a request to API. Headers are setted on request.Error