Тёмный
No video :(

Laravel 8 tutorial - Http Client 

Code Step By Step
Подписаться 309 тыс.
Просмотров 53 тыс.
50% 1

In this laravel 8 and 9 video tutorial, we learn how to call api with httpclient in laravel latest version. This video is made by anil Sidhu in the English language
API url reqres.in/api/...
steps of video
What is Http Client
How to use Http Client
Send Data to View
Show Data in HTML Table
Laravel tutorial for beginners
Interview Question
laravel 9 tutorial
laravel 9
Laravel tutorial playlist • Laravel 9 tutorial

Опубликовано:

 

22 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 67   
@codestepbystep
@codestepbystep 2 года назад
Please Support my by Subscribe, Like and comment. Thank you :)
@khushbookumari915
@khushbookumari915 2 года назад
$collection undefined error
@yuripapinian2261
@yuripapinian2261 3 года назад
I like how you repeat the step of creating a Controller. it really helps
@joerodrigo9661
@joerodrigo9661 3 года назад
Even though your doing it all from scratch again, it helps me to be familiar with the flow. thanks sir
@ashokbishwas
@ashokbishwas Год назад
This tutorial is amazing, I am reapeating 5 times for knowing the syntax and grammer.
@mariakarenseronperalta4463
@mariakarenseronperalta4463 2 года назад
very helpful i subscribe
@freerelax8964
@freerelax8964 3 года назад
Interview question : I think we get the header information by using $collection->header().
@masudindeed
@masudindeed 3 года назад
$collections->header('Content-Type', 'text/plain');
@negi3625
@negi3625 3 года назад
@@masudindeed what is API header btw?
@neelthakkar4492
@neelthakkar4492 3 года назад
$collection->headers() to get all headers data.
@erriada-com
@erriada-com Год назад
thanks
@engr.naeemullah7019
@engr.naeemullah7019 2 года назад
Hi sir thanks alot for amazing tutorials! i have one issue i am fetching the data from xml feed of the one wbesit and and want to store that data in my database. i am using HTTP request and follow the same video
@technicalshyab5509
@technicalshyab5509 3 года назад
Amazing tutorial sirrrrr
@rishitiwary5847
@rishitiwary5847 3 года назад
amazing tutorial its help me alot
@shindeanita1629
@shindeanita1629 Год назад
In index() function pass parameter Request $req then call $req->header() which show the header information.
@yuukich00
@yuukich00 Год назад
ありがとう
@tr_boss_official
@tr_boss_official 3 года назад
Nice tutorial sir
@adedejiabdulkabir8623
@adedejiabdulkabir8623 3 года назад
What is the solution to curl error 60
@JasvirSingh-fd6fp
@JasvirSingh-fd6fp 3 года назад
Thank you sir
@shammikumar3437
@shammikumar3437 2 года назад
how to update data from api if the data is updating after sometime . like stocks prices of other currencies?
@alexbayarov3072
@alexbayarov3072 3 года назад
Could you please show how to use http::attach() ?
@technicalshyab5509
@technicalshyab5509 3 года назад
Sir please sir React native full series ka video upload kariye sirrrrr please
@samm-rawr6441
@samm-rawr6441 Год назад
how can we call api with credentials and sessionID .can u share your video about this?
@ghazalafazal4370
@ghazalafazal4370 3 года назад
sir ye tareeka kar edit data k liye use ho sakta ha? hm agar apny tables se edit pay click kren to apny forms ki field me data le k a sakty by this method?
@yaseen_elolemy
@yaseen_elolemy 3 года назад
hey man how can i remove trailing slash after image link because it doesn't load the image with it
@dhanushjerryrajen9015
@dhanushjerryrajen9015 3 года назад
So how did i find my key for my json data For me it doesnt displays any key values
@imranshahid2907
@imranshahid2907 Год назад
what is the solution of curl timeout
@shaifulislam6778
@shaifulislam6778 3 года назад
how create API url??
@mofumofu3699
@mofumofu3699 3 года назад
Sir, how to show relationship data in view? because when get data, it not return collection of object For example if it return collection of object, usually i always use {{ $post->tags->name }}. How to do it? because in this video using code like this: {{ $post['item'] }} I'm trying {{ $post['tags'] ['name'] }} but error
@najmussaadat7069
@najmussaadat7069 2 года назад
font family is not different, one has JSON type header, other is just plain text
@sanchitkhurana2238
@sanchitkhurana2238 2 года назад
Hi, what we have to do if you have to access only the first value that is page instead of the array data? Can you please help?
@sanchitkhurana2238
@sanchitkhurana2238 2 года назад
can somebody help me on this?
@samimahassan1716
@samimahassan1716 3 года назад
hello sir i couldnt find the answer to your question , can you plz write answer for me
@yagnikpatel6349
@yagnikpatel6349 Год назад
how can i make api
@nikhilkade3163
@nikhilkade3163 3 года назад
Hi Sir How we can use json data directly in php without decoding it
@manyatiwari4292
@manyatiwari4292 2 года назад
It's a curl error 60 certification error is showing
@phoenixempire3298
@phoenixempire3298 2 года назад
extensions details please
@mzcollection5555
@mzcollection5555 3 года назад
What is the answer the interview question?
@HamzaKhan-nm4iw
@HamzaKhan-nm4iw 3 года назад
how to integrate 3rd party api in your project
@haroorzulfqar4984
@haroorzulfqar4984 2 года назад
how we create api link???
@danishkhan5059
@danishkhan5059 2 года назад
how to paginate data
@farhanhaider73
@farhanhaider73 2 года назад
getting this error htmlspecialchars(): Argument #1 ($string) must be of type string, GuzzleHttp\Cookie\CookieJar given
@somethingmysterious58
@somethingmysterious58 2 года назад
you have not used json_decode() function. put $posts variable inside than function then this error shall be vanished.
@monowersadaf
@monowersadaf 2 года назад
@@somethingmysterious58 i did not receive any error. even thou i didn't use the json_decode() function. why didnt i get error?
@quocdattranquoc1832
@quocdattranquoc1832 3 года назад
i have the problem which error: "Undefined array key "data" what is the solution to this error? please, help me, thanks a lot
@Kejnjrbdbfhhrbb
@Kejnjrbdbfhhrbb 3 года назад
Data is not defined
@MsFarrukh123
@MsFarrukh123 3 года назад
if there is any space in data remove it
@ansarmehmood4488
@ansarmehmood4488 3 года назад
Hi, man could you help me to resolve this error in Class 'Illuminate\Support\Facades\Http' not found if you send me your Http file it would be very usable for me
@satvikraghuvanshi3436
@satvikraghuvanshi3436 3 года назад
Hi, make sure that you have Guzzle package - if you want to install it - just write this command in cli ==> composer require guzzlehttp/guzzle
@dikshajanbandhu3248
@dikshajanbandhu3248 3 года назад
How you create the API URL
@darn2926
@darn2926 2 года назад
there is a link in the description
@saurabhgaonkar4487
@saurabhgaonkar4487 3 года назад
why we use $connection['data'] is data is a implicit keyword or what?
@user-st6yv6rf2r
@user-st6yv6rf2r 3 года назад
Response received from request contains a lot of keys, as you can see at 7:48. It has 'page', 'per_page', 'total', 'total_pages' and 'data' keys. We don't need any except for data-key. So we directly use $collection['data'], when we passing parameters into our view. By the way, if response (which is instance of Illuminate\Http\Client\Response) came as JSON, you can add ->json() at the end to get iterable array
@saurabhgaonkar4487
@saurabhgaonkar4487 3 года назад
@@user-st6yv6rf2r tysm
@perialdupont1181
@perialdupont1181 3 года назад
@@user-st6yv6rf2r nice answer guy
@tariqkhan5206
@tariqkhan5206 3 года назад
From where did you get that Api??
@darn2926
@darn2926 2 года назад
its on the description
@Dreamerstube-ot8fj
@Dreamerstube-ot8fj 8 месяцев назад
how can solve the problem of Ignition Settings Docs EDITOR PhpStorm THEME Auto SAVE SETTINGS Settings will be saved locally in ~/.ignition.json. include(C:\Users\Admin\Desktop\fresLaravel\blog\vendor\composer/../../app/Http/Controllers/Controller.php): Failed to open stream: No such file or directory ErrorException PHP 8.2.12 10.38.2 include(C:\Users\Admin\Desktop\fresLaravel\blog\vendor\composer/../../app/Http/Controllers/Controller.php): Failed to open stream: No such file or directory
@mihiranchathuranga8675
@mihiranchathuranga8675 3 года назад
Is this related to Laravel Rest API
@somethingmysterious58
@somethingmysterious58 2 года назад
this is kinda ready made api, when u have to create your own api then it is totally kinda different material :D
Далее
Laravel 8 tutorial - Http Request Methods
14:43
Просмотров 40 тыс.
Laravel 8 tutorial in Hindi - Http Client
11:19
Просмотров 34 тыс.
Laravel API | All about HTTP client
20:06
Просмотров 3,4 тыс.
Laravel 8 tutorial - Localization | locale
13:10
Просмотров 55 тыс.
Laravel 8 tutorial -  API authentication with Sanctum
15:51
Always Check for the Hidden API when Web Scraping
11:50
Laravel 8 tutorial - Save Data in Database
12:22
Просмотров 95 тыс.
Laravel and External APIs: Get Data with HTTP Client
6:36