<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Larissa Bizzi</title>
    <description>The latest articles on DEV Community by Larissa Bizzi (@larissabizzi).</description>
    <link>https://dev.to/larissabizzi</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1083336%2Ff6b8d1c0-a591-48ac-bcdb-afdc7cf2bef1.JPG</url>
      <title>DEV Community: Larissa Bizzi</title>
      <link>https://dev.to/larissabizzi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/larissabizzi"/>
    <language>en</language>
    <item>
      <title>About HTTP : request, response and methods</title>
      <dc:creator>Larissa Bizzi</dc:creator>
      <pubDate>Fri, 24 Nov 2023 15:24:43 +0000</pubDate>
      <link>https://dev.to/larissabizzi/about-http-request-response-and-methods-21na</link>
      <guid>https://dev.to/larissabizzi/about-http-request-response-and-methods-21na</guid>
      <description>&lt;h2&gt;
  
  
  I am studying the RESTful API development and it begins with some recap about HTTP. Let's talk about it. 😊
&lt;/h2&gt;

&lt;p&gt;5 &lt;strong&gt;HTTP common methods&lt;/strong&gt; (also called HTTP verbs):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GET -&amp;gt; retrieves a ressource;&lt;/li&gt;
&lt;li&gt;POST -&amp;gt; sends data to the server and creates a record;&lt;/li&gt;
&lt;li&gt;PUT -&amp;gt; updates the whole ressource;&lt;/li&gt;
&lt;li&gt;PATCH -&amp;gt; partially updates a ressource;&lt;/li&gt;
&lt;li&gt;DELETE -&amp;gt; deletes a ressource.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A &lt;strong&gt;HTTP request&lt;/strong&gt; includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;version type;&lt;/li&gt;
&lt;li&gt;URL;&lt;/li&gt;
&lt;li&gt;HTTP method;&lt;/li&gt;
&lt;li&gt;request headers (ex. cookies, user-agents, referrers);&lt;/li&gt;
&lt;li&gt;body (optional).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The &lt;strong&gt;HTTP response&lt;/strong&gt; contains the resource that was requested. It also contains information like the length of the content, the content type, and headers like cookies. It also contains ETags, the time when the content was last modified, and finally, the response also contains some special numerical codes called HTTP status codes.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>frontend</category>
      <category>http</category>
      <category>restapi</category>
    </item>
  </channel>
</rss>
