How to use CURL on Windows | How to test API with CURL | CURL Basics Step by Step

preview_player
Показать описание
CURL Beginner Tutorial:
Today we will learn:
1. What is CURL
2. How to run curl on windows
3. How to run api requests with curl : GET, POST, PUT, DELETE

Ref:
--------------------------------------------------------------------------------------------
GET ONLY RESPONSE
curl url
--------------------------------------------------------------------------------------------
GET RESPONSE AND HEADERS
curl -i url
--------------------------------------------------------------------------------------------
GET ONLY HEADERS
curl --head url
curl -I url
--------------------------------------------------------------------------------------------
GET DETAILS OF CLIENT SERVER INTERACTION
-v verbose
curl -v url
--------------------------------------------------------------------------------------------
GET EVEN MORE DETAILS AND LOG ALL INTERACTION TO FILE
--trace
curl --trace FILE URL
--------------------------------------------------------------------------------------------
SEND HEADERS IN REQUEST
-H
curl -H "Accept:application/json"
--------------------------------------------------------------------------------------------
POST
-d or --data

"name": "morpheus",
"job": "leader"

-X POST

--------------------------------------------------------------------------------------------

PUT
-X PUT

--------------------------------------------------------------------------------------------
DELETE
-X DELTE
--------------------------------------------------------------------------------------------

Like, Share and Subscribe.

Keep Learning,
Raghav
HIT SUBSCRIBE & BELL TO GET NEW VIDEOS

________ ONLINE COURSES TO LEARN ________

------------ UI TESTING ------------

------------ API TESTING ------------

------------ MOBILE TESTING ------------

------------ CI | CD | DEVOPS ------------

------------ VERSION CONTROL SYSTEM ------------

------------ PERFORMANCE TESTING ------------

------------ JAVA ------------

------------ MAVEN ------------

------------ OTHERS ------------

Never stop learning,
Raghav

Рекомендации по теме
Комментарии
Автор

Very well explained (and illustrated). Thank you very much !

aiotmaker
Автор

Perfect tutorial video... Starting from installation to query execution... Thanks for such video

pankajvarma
Автор

Thank you for creating this video. It was just what I needed to better understand how to use cURL!!!

mattgranger
Автор

Excellent video. Exactly what I was looking for. Great presentation and explanation!

hinesdy
Автор

Not everyone teaches with PASSION, but your bro. Thanks a lot.

mallihealth
Автор

THANK YOU!!! One of the best, and clearly explained tutorials I have ever watched.😊

TdukeTduke
Автор

Previously i was facing so many issues with curl in windows but after watching your tutorial i got the solution thanks sir u r great..

prekshajain
Автор

Thank you Raghav for adding immense value to online teaching.

sujathathakur
Автор

getting addicted to ur videos, thanks a lot!

hamsaganesh
Автор

Thank you so much, my man! This definitely helped me move through a blockade and has given me the ability to diagnose my website

Renierius
Автор

Это первое видео, которое мне очень помогло. Ты единственный ответил на мои вопросы. Красава!

MrTarasFin
Автор

Thank you SO MUCH you have no idea. I was watching a tutorial about using curl for apis but the instructor is using mac and I'm on windows.

WebDevJapan
Автор

very simple and useful videos, which helps a lot, Thanks VERY much.

mafzal
Автор

Thank you very much for this video, this helped me a lot.

MartianMoon
Автор

Awesome Tutorial
Please keep it up and waiting to see more tutorials.

jini
Автор

This is GOLD! You're an excellent teacher. Cheers!

mitchmaanaoproductions
Автор

Curl is useful because in many projects curl is used by the backend engineers . Also postman / jmeter and maybe other tools allow importing from curl . Also exporting as curl is allowed by postman tool as well for request sharing

elmariscal
Автор

Thanks for this video ... a very nice covering!.

BTW for POST/PUT about JSON is expected use the 'content-type' header instead. In your case was used 'accept', so it is really used to define the response format.

manueljordan
Автор

Thanks Raghav for this helpful tutorial

afnanelnomrosy
Автор

You are awesome! I learned enough with you

jss