02 – Curl Examples for GET Request POST Request DELETE Request Upload Json File

Channel Avatar
Comment
X
Share
02 - Curl Examples for GET Request POST Request DELETE Request Upload Json File
02 – Curl Examples for GET Request POST Request DELETE Request Upload Json File
Curl examples for API Request:
Get Examples:
Get Request: curl www.google.com
Get Request including response header: curl -i www.google.com
Get Request saving response in a file: curl -o google.html www.google.com
———————————————————————————————————————–
Post Examples:
Sending Json data in the url:
curl -i -X POST -H /”Content-Type:application/json/” -d /”{///”name///”:///”Test curl002///

Take the opportunity to connect and share this video with your friends and family if you find it useful.

Read Also

Leave a Reply

Your email address will not be published. Required fields are marked *