<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[curl for developer]]></title><description><![CDATA[curl for developer]]></description><link>https://curl-cohort-2026.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Fri, 19 Jun 2026 15:26:05 GMT</lastBuildDate><atom:link href="https://curl-cohort-2026.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Getting Started with cURL]]></title><description><![CDATA[What is cURl?
curls ka full name hota hai client URL, jo ki ek command line tool hai.jiska use developer server per data send karna aur server se response ke liye use karta hai.
Why programmers need cURL?
ek programmer ke liye dekha jaaye toh mostly,...]]></description><link>https://curl-cohort-2026.hashnode.dev/getting-started-with-curl</link><guid isPermaLink="true">https://curl-cohort-2026.hashnode.dev/getting-started-with-curl</guid><category><![CDATA[ChaiCode]]></category><category><![CDATA[Suraj]]></category><dc:creator><![CDATA[Suraj Kumar]]></dc:creator><pubDate>Fri, 30 Jan 2026 16:13:05 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1769789311969/fa056361-5005-4736-b32f-43de5485abba.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h3 id="heading-what-is-curl">What is cURl?</h3>
<p>curls ka full name hota hai client URL, jo ki ek command line tool hai.jiska use developer server per data send karna aur server se response ke liye use karta hai.</p>
<h3 id="heading-why-programmers-need-curl">Why programmers need cURL?</h3>
<p>ek programmer ke liye dekha jaaye toh mostly, server ke saath data ko transfer ke liye use kiya jaata hai.jaise ki :</p>
<ul>
<li><p><strong>API Testing &amp; Debugging</strong></p>
<ul>
<li><p><strong>API Request :</strong> iske under dekha jaaye toh rest api ko test karne ke liye use hota hai like GET, POST,PUT,DELETE,PUT and PATCH method.</p>
</li>
<li><p><strong>API Response :</strong> iske under server se aane wale data ko terminal per dikhta hai jisse api ko check karna easy ho jata hai.</p>
</li>
</ul>
</li>
<li><p><strong>File Transfer</strong></p>
<ul>
<li>isko dekha jaaye toh file ko server per <strong>upload</strong> karna yaa server se <strong>downlod</strong> karne ke liye bhi use hota hai.</li>
</ul>
</li>
<li><p><strong>Web scrapping</strong></p>
<ul>
<li>iska use kisi bhi site se uska raw html download karna iske liye bhi curl ka use kiya jaata hai.</li>
</ul>
</li>
</ul>
<h3 id="heading-making-your-first-request-using-curl">Making your first request using cURL?</h3>
<p>first command for <code>curl https://chaicode.com</code></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1769787822021/057692a7-ba13-4560-911d-09acd25a30ae.png" alt class="image--center mx-auto" /></p>
<h3 id="heading-understanding-request-and-response">Understanding Request and Response</h3>
<p>Agar hm server ke ssath communication dekhna chate hai toh basically kya hota hai <strong>client(user)</strong> server per request send karta hai fir <strong>server</strong> se response client ke paas hota hai iss tarike se server per comunication hota hai.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1769788935648/c7bca6cb-ce64-4d44-bc88-60959b902171.png" alt class="image--center mx-auto" /></p>
<p>lets explain, iske under basically kya ho raha hai curl yeah ek <strong>comand-line HTTP client</strong> hai. <strong>https://chaicode.com</strong> URL jaha per hamne requesting ki hai. agar dekha jaaye toh iske under ho kya raha hai jaise ki hamne GET method call kiya <strong>host(https://chaicode.com)</strong> per yeah request gya server per aur server se apne ko response mila html ko content jo ki yeah exists karta hai.</p>
]]></content:encoded></item></channel></rss>