<?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: Dhanush Raj R  J</title>
    <description>The latest articles on DEV Community by Dhanush Raj R  J (@dhanush17raj).</description>
    <link>https://dev.to/dhanush17raj</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%2F727193%2F276ef529-30c2-46f1-8c3f-90583c9e70a7.png</url>
      <title>DEV Community: Dhanush Raj R  J</title>
      <link>https://dev.to/dhanush17raj</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dhanush17raj"/>
    <language>en</language>
    <item>
      <title> MY LEARNINGS: API 101 &amp; POSTMAN</title>
      <dc:creator>Dhanush Raj R  J</dc:creator>
      <pubDate>Sun, 19 Dec 2021 17:27:31 +0000</pubDate>
      <link>https://dev.to/dhanush17raj/my-learnings-api-101-postman-1mmh</link>
      <guid>https://dev.to/dhanush17raj/my-learnings-api-101-postman-1mmh</guid>
      <description>&lt;p&gt;This was the first time I attended a session on APIs and Postman. The session was mind boggling😍😍. I came to know what is an API, its advantages, common APIs, about Postman, send data, receive data, different Datatypes, status codes etc. &lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;                        API
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;API(Application Programming Interface), which is a software intermediary that allows two applications to talk to each other&lt;br&gt;
i.e Basically APIs act as a Facilitator.&lt;br&gt;
Its advantages are:-&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;It reduce the work load of software developers.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;API is also used to improve the features.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--kBn5Vvn4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/un55popzqkfpadp9wx4s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--kBn5Vvn4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/un55popzqkfpadp9wx4s.png" alt="Image description" width="500" height="483"&gt;&lt;/a&gt;&lt;br&gt;
API allow developers to access data from a service(like Google, Facebook etc) without any knowledge of how the code base has been implemented.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;                       POSTMAN
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Postman is an API platform for building and using APIs. Here I familiarized with postman UI.&lt;br&gt;
Request and Response are the important things in Postman.&lt;br&gt;
Different types of request that we use are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Get Request - To retrieve the information&lt;/li&gt;
&lt;li&gt;Post Request - To sent the information&lt;/li&gt;
&lt;li&gt;Pull Request - To update the information&lt;/li&gt;
&lt;li&gt;Delete Request - To delete the information&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;REQUEST contain three parts:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Parameters&lt;/li&gt;
&lt;li&gt;Authorization&lt;/li&gt;
&lt;li&gt;Headers&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;RESPONSE contain three parts:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Status Code&lt;/li&gt;
&lt;li&gt;Headers&lt;/li&gt;
&lt;li&gt;Accessing Body data&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Different types of status codes are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;200 OK - means we got the data.&lt;/li&gt;
&lt;li&gt;201 Created - means data is created&lt;/li&gt;
&lt;li&gt;404 Bad Request - means their is some error.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then we forked a workspace to my workspace and familiarized postman. On that workspace I worked on Get request, Pull request, Delete request etc. There we added new Jokes, updated the existing &lt;br&gt;
ones, deleted some. For Post request we used JSON body for posting new jokes. There is a documentation on postman through which we can get a better understanding.&lt;/p&gt;

&lt;p&gt;There are many datatypes in postman, of which we mainly use JSON. The format of JSON file is:&lt;br&gt;
{&lt;br&gt;
  "id": "1",&lt;br&gt;
  "author": "Dhanush Raj R J",&lt;br&gt;
  "joke": "Bugs are updated features",&lt;br&gt;
  "source": "iali.dev"&lt;br&gt;
}&lt;br&gt;
The 'id' is very crucial for Put request. Some APIs are public, some are private. The private ones requires Authentication in order to protect the privacy. If we select a particular part of the link we can set it as a variable.&lt;/p&gt;

&lt;p&gt;The session was really helpful and I learned many things what is an API, about Postman, Request, Response etc.&lt;br&gt;
The session was handled beautifully by Adam Oomen Jacob. He made sure that we understood every bits and pieces. I thank Tinkerhub MEC and Postman for organising a wonderful session.&lt;/p&gt;

</description>
      <category>postman</category>
      <category>postmanstudentexpert</category>
      <category>learning</category>
    </item>
  </channel>
</rss>
