How to make secured rest api in laravel 9 | Rest API in Laravel 9 | Laravel 9 API Tutorial

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 18

  • @mikisweet3286
    @mikisweet3286 2 года назад +1

    Nice tutorial

  • @LotusSoftPvtLtd
    @LotusSoftPvtLtd 2 года назад

    nice

  • @thanhnguyen-ls8dk
    @thanhnguyen-ls8dk 2 года назад +1

    what vs code extensions did you use for laravel?thanks

    • @TechToolIndia
      @TechToolIndia  2 года назад

      I use Laravel Blade Snippet & Laravel Extra Intellisense.
      hope this help.
      consider Subscribing channel.

  • @ryanogilvi8379
    @ryanogilvi8379 2 года назад

    wen using it, can we pass token to front end using auth intercep?

    • @TechToolIndia
      @TechToolIndia  2 года назад

      Hi Ryan,
      Yes you can pass token to frontend.
      Thanks

  • @muhammadakna8397
    @muhammadakna8397 Год назад +1

    how you can get the URL ?

    • @TechToolIndia
      @TechToolIndia  Год назад

      I have used laravel valet for local development
      You can use this in Mac

  • @anoopchaurasia5790
    @anoopchaurasia5790 2 года назад +1

    api resource not working

    • @TechToolIndia
      @TechToolIndia  2 года назад +1

      Hi Anoop,
      Which version of Laravel are you using.
      you can refer to complete steps here in this blog
      dev.to/shanisingh03/how-to-quickstart-secured-rest-api-project-with-laravel-9--4dh7
      Hope this will help.
      thanks

    • @anoopchaurasia5790
      @anoopchaurasia5790 2 года назад

      @@TechToolIndia latest

    • @TechToolIndia
      @TechToolIndia  2 года назад +1

      @@anoopchaurasia5790 then it should work
      use App\Http\Controllers\PhotoController;
      Route::apiResource('photos', PhotoController::class);
      This is an example apiResource Route.

    • @anoopchaurasia5790
      @anoopchaurasia5790 2 года назад

      Thank you team @techtoolindia

    • @TechToolIndia
      @TechToolIndia  2 года назад

      @@anoopchaurasia5790 Glad it helped,
      Consider subscribing to our channel.
      Thanks