Sunil

Total Marks Gained

0

Reply Created

what about the user not register in website. How to give them access to api with oauth

1 year ago

Thread Created

Hi Can you provide me the link which give idea for how to implement the oauth2 in laravel for api.

1 year ago

Reply Created

I mean can i write auth api on ProductController so that all products api need authenticate.

1 year ago

Thread Created

Hi can I write like this public function __constructor() { $this->middleware('auth:api'); } for adding middleware to all api wating for your reply.

1 year ago

Thread Created

when I write same code you have mention on video of rest api. return ReviewResource::collection($product->reviews); its giving me error as Class 'APP\Model\Review' not found ``` /vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/

1 year ago