Support the ongoing development of Laravel.io →
posted 1 year ago
Laravel
Last updated by @jivan84 1 year ago.
0

I am not seeing these:

  1. How do you call api in Laravel? It should start with /api
  2. Which security are you applying on API? I guess you need Sanctum API due to seperate domains or Laravel Passport (if you need OAUTH2). https://laravel.com/docs/10.x/passport#passport-or-sanctum
  3. You cannot call POST without API Security, for example, using Sanctum in Laravel, you need to place middleware('auth:sanctum').

jivan84 liked this reply

1

Thanks for the help.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Jeevan jivan84 Joined 8 Aug 2023

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.