<?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: rajdeep-mondal-hub</title>
    <description>The latest articles on DEV Community by rajdeep-mondal-hub (@rajdeepmondalhub).</description>
    <link>https://dev.to/rajdeepmondalhub</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%2F955330%2F4c122795-29d3-426f-a9fb-52ba90605dd5.png</url>
      <title>DEV Community: rajdeep-mondal-hub</title>
      <link>https://dev.to/rajdeepmondalhub</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rajdeepmondalhub"/>
    <language>en</language>
    <item>
      <title>🌟 Exploring the Postman Workshop: API 101 using Postman 🌟</title>
      <dc:creator>rajdeep-mondal-hub</dc:creator>
      <pubDate>Fri, 01 Mar 2024 12:53:14 +0000</pubDate>
      <link>https://dev.to/rajdeepmondalhub/exploring-the-postman-workshop-api-101-using-postman-31dd</link>
      <guid>https://dev.to/rajdeepmondalhub/exploring-the-postman-workshop-api-101-using-postman-31dd</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs7ka5b0i5h0tf04m752v.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs7ka5b0i5h0tf04m752v.jpg" alt="Image description" width="800" height="800"&gt;&lt;/a&gt;&lt;br&gt;
Today, I attended the “APIs 101 Using Postman” workshop conducted by the Postman Student Expert &lt;a href="https://www.linkedin.com/in/sagnik-datta-96bb8a265/"&gt;Sagnik Datta&lt;/a&gt; at &lt;a href="https://www.rcciit.org/"&gt;RCC Institute of Information Technology, College Auditorium&lt;/a&gt;. The session was conducted amazingly, providing everyone with an overview of the Postman API Platform followed up by a hands-on session that covered basic request methods like &lt;strong&gt;GET&lt;/strong&gt;, &lt;strong&gt;POST&lt;/strong&gt;, &lt;strong&gt;PUT&lt;/strong&gt; and &lt;strong&gt;DELETE&lt;/strong&gt; along with responses. The presenter was very knowledgeable and offered valuable information and tips.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F53dtjqnjvujxpgaxez2d.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F53dtjqnjvujxpgaxez2d.jpg" alt="Image description" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Postman?
&lt;/h2&gt;

&lt;p&gt;On hearing or reading the word “postman”, we all think of a person whose job is to collect letters, etc. and take them to people’s houses. Here, by Postman we mean an API platform for building and using APIs. Postman is a very famous tool for interacting with HTTP API clients that enable Developers to generate, share, verify and file APIs. It offers its users a pleasant GUI for generating requests and responses. Also, simplifies each step of the API lifecycle and streamlines collaboration so we can create better APIs much faster.&lt;/p&gt;

&lt;p&gt;Application Programming Interfaces (APIs) allow services to communicate with each other. APIs allow developers to access data from a service (like Google or Twitter) without any knowledge of how the codebase has been implemented. For everything, we want there is an API available for it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5p1zeefsrxkex38qj09r.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5p1zeefsrxkex38qj09r.jpg" alt="Image description" width="800" height="1434"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Request - Response Pattern
&lt;/h2&gt;

&lt;p&gt;A &lt;strong&gt;client&lt;/strong&gt; is an entity that requests a server. Some examples of clients are applications like web browsers. A &lt;strong&gt;server&lt;/strong&gt; controls resources and services. An API is an interface that exposes these resources + services to clients in a network.&lt;/p&gt;

&lt;p&gt;The client can interact with an API by making requests over the network to the API. The API will then evaluate the request, perform the required operations, maybe interact with a database or other APIs, then send back a response to the client.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fndcovgnutxi9h9oqs2kp.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fndcovgnutxi9h9oqs2kp.gif" alt="Image description" width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Making a Request
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Methods: GET, POST, PUT/PATCH, DELETE, etc.&lt;/li&gt;
&lt;li&gt;Address/Endpoint URL&lt;/li&gt;
&lt;li&gt;Path&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Methods
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;GET Method:&lt;/strong&gt; Used to retrieve the information.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;POST Method:&lt;/strong&gt; Used to add your own information.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PUT/PATCH Method:&lt;/strong&gt; Patch is for updating partial data of a record while keeping the other data, whereas PUT requests are designed to completely overwrite the existing data for a record.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DELETE Method:&lt;/strong&gt; Used to delete information.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Address/Endpoint URL
&lt;/h2&gt;

&lt;p&gt;Endpoint URL {base_url}: &lt;a href="http://postman-student.herokuapp.com/"&gt;http://postman-student.herokuapp.com/&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Paths
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;/quote&lt;/code&gt; for working with Quotes API.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;/joke&lt;/code&gt; for working with Jokes API.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;/book&lt;/code&gt; for working with Books API&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  HTTP Codes
&lt;/h2&gt;

&lt;p&gt;When we make an API call, we will see the response values at the bottom.&lt;/p&gt;

&lt;p&gt;For &lt;strong&gt;Status&lt;/strong&gt;, 200 OK is usually the best response that the API works as 200 OK means Successful. Some of the other responses are: 201 Created&lt;/p&gt;

&lt;p&gt;400 Bad Request&lt;/p&gt;

&lt;p&gt;401 Unauthorized&lt;/p&gt;

&lt;p&gt;403 Forbidden&lt;/p&gt;

&lt;p&gt;404 Not found.&lt;/p&gt;

&lt;p&gt;There’s the &lt;strong&gt;time&lt;/strong&gt; to show the latency in milliseconds. This is useful for testing performance.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg5lckb8r9cmlhyclcimh.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg5lckb8r9cmlhyclcimh.gif" alt="Image description" width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Features of Postman API Platform
&lt;/h2&gt;

&lt;p&gt;The Postman API allows us to programmatically access data stored in our Postman account. Perform all the classic CRUD operations on our collections, environments, mocks, and more. The API “echos” back what we send to it, which is a great way to see what we’re sending to a server without having to analyze backend logs. We can send requests through various protocols (GET, POST, PUT), explore different authentication methods, and play around with different parameters.&lt;/p&gt;

&lt;p&gt;Postman provides a programmable way to visually represent your request responses. It has a suite of &lt;a href="https://learning.postman.com/docs/writing-scripts/script-references/postman-sandbox-api-reference/#using-external-libraries"&gt;external libraries&lt;/a&gt; available to use in the Pre-request and Test script tabs. These libraries make developers’ lives much easier by providing functionality not necessarily built into JavaScript. It also allows features like automating API tests. Postman documentation is one of its best features, adding to it they use the &lt;a href="https://daringfireball.net/projects/markdown/syntax"&gt;Daring Fireball&lt;/a&gt; syntax of Markdown, which allows us to easily add images and gifs to your documentation making it more interesting.&lt;/p&gt;

</description>
      <category>postman</category>
      <category>postmanapi</category>
      <category>api</category>
      <category>postmanstudent</category>
    </item>
  </channel>
</rss>
