Laravel 8 tutorial in Hindi - Http Client

Поделиться
HTML-код
  • Опубликовано: 14 сен 2020
  • In this laravel 8 Hindi video tutorial, we learn how to call api with HTTP client in laravel latest version. This video is made by anil Sidhu in the Hindi language
    API url reqres.in/api/users?page=1
    steps of video
    What is Http Client
    How to use Http Client
    Send Data to View
    Show Data in HTML Table
    Interview Question
    Laravel 9 tutorial in Hindi
    Laravel 9 in hindi

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

  • @haroonbadshah4635
    @haroonbadshah4635 3 года назад

    thanks for this video

  • @biswajitbaral7155
    @biswajitbaral7155 3 года назад +3

    Ans bhi next video Mai Bata di jiye 🙏

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

    Hii.. please make a video on laravel 8 sessions with database connection login page

  • @TheZiconinho
    @TheZiconinho 3 года назад +3

    I have used any other link for json api but I am getting an error like guzzlehttp/cookie jar as array. It is working perfectly only with your given json link.

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

    Cannot use object of type GuzzleHttp\Cookie\CookieJar as array

  • @santanudutta8456
    @santanudutta8456 Год назад +2

    Whoever facing with this error "Cannot use object of type GuzzleHttp\Cookie\CookieJar as array".
    Solution : It does not return a collection. It returns a response. Append ->collect() to make a collection as $getData= Http:: get("url")->collect();

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

      I also facing the same problem but I have changed that line by "return view('myApiData',['data'=>$data['data']]);" as it is shown in video and now it is showing perfectly.

  • @kaziovesh9798
    @kaziovesh9798 3 года назад +3

    sir api pe 3-4 video or laiye

    • @codestepbystep
      @codestepbystep  3 года назад +4

      bhai bhut sari video ayegi...

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

      @@codestepbystep sir ye api ka url aya kider se ha?ye bta dien

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

    sir when i run this page error is shown undefined varibles $list i have also check variable name sir

  • @jyotibhalla1720
    @jyotibhalla1720 3 года назад +1

    But this api is not work on localhost because localhost only supports http now what I do?

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

      this will also work on localhost, follow same steps as in the video

  • @rajkarena1968
    @rajkarena1968 8 месяцев назад

    Http get ke under url no ho to uskit jaga kay aata he

  • @MrKhan-tk5pj
    @MrKhan-tk5pj 3 года назад

    when i get api url from controller, this error is show > cURL error 60: SSL certificate problem: unable to get local issuer certificate.

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

      same issue occur So I Modified file vendor\guzzlehttp\guzzle\src\Client.php - 'verify' => false After Work.

  • @shankhaliq8801
    @shankhaliq8801 3 года назад

    how we get request as 5:16

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

    sir, ya api ka url kha se mle ga

  • @KaifKhan-tl6fz
    @KaifKhan-tl6fz 3 года назад

    lekin sir api kese bnayee..

  • @JamesBond-mc7kl
    @JamesBond-mc7kl 3 года назад +1

    Illuminat/supports/facades/Http
    And
    Illuminat/supports/facades/DB
    kaha se aya??

    • @majidkhan8301
      @majidkhan8301 3 года назад +1

      Same question, ye path kidhr se aya files me kidhr hai ye?? Kidhr se import ho rha hai??

    • @kinjal_suryavanshi
      @kinjal_suryavanshi 3 года назад

      This is inbuilt file i laravel, which is fetched data for use only

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

      Vendor ka folder se

  • @ashutoshmehere5915
    @ashutoshmehere5915 3 года назад

    insert update delete

  • @navinsahanivlog
    @navinsahanivlog 3 года назад

    Illuminat/supports/facades/Http
    And
    Illuminat/supports/facades/DB
    kaha se aya file me nhi hai

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

      In Your Project -> vendor\laravel\framework\src\Illuminate\Support\Facades\DB.php

  • @anne7059
    @anne7059 3 года назад +1

    Bhai haar baaar usercontroller kabhi kuch aur name rakho

  • @govindgaur2954
    @govindgaur2954 3 года назад

    use Illuminate\Support\Facades\Http
    Class 'Illuminate\Support\Facades\Http' not found

    • @usamaaslam517
      @usamaaslam517 3 года назад

      Illuminate first letter I should be capital

    • @govindgaur2954
      @govindgaur2954 3 года назад

      @@usamaaslam517 already used First Letter Capital

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

      Have you find solution of this problem ??
      please let me know, I'm facing same issue that Class 'Illuminate\Support\Facades\Http' not found
      thank you