0:00
Hello there and welcome to Linux S2O. Recently I was talking to some of you guys and some of them
0:09
said that they are into computer programming. I mean they expressed that they are the coders
0:14
So I thought let's make a video about that topic. Anyone who is indulged in the computer programming
0:21
and coding kind of stuff then they probably have heard about APIs and they probably have used the
0:27
api so for example at the linuxs2.com we have the api for example if i go to linuxs2.com
0:34
slash bp slash json slash bp and here is the url if i hit to this url so this is the api url
0:42
this will output some kind of gibberish here so this is the json format basically and it is
0:49
outputting the post from the website so this is not very much readable so what i can do i can simply
0:56
copy this URL from here and I can go to in to something known as postman so postman is a tool is it it very good tool and it free basically and it used for testing an API so if I want to test the
1:11
API I can simply open a new tab here and paste that URL and hit the hit for the request so this
1:18
will fetch all the data that was sent from the linuxs2.com website and it will output you here
1:25
so you can see so this is the json format the date of the post the title of the post basically the link
1:33
and the complete post here basically so this is the data so it's very good for api testing
1:39
and knowing how the api is actually working so in this video we will learn how we can set this tool
1:46
in a linux text of environment so for this i'm going to open my virtual machine again because i
1:52
I have already set this tool in the main operating system here
1:56
So I'm going to open Ubuntu. So this is going to be a virtual machine basically So you can get this tool from its official website So in the browser just type Postman and you will get its official website here
2:13
So this is postman.com and here you can simply go to this download page here using this download
2:18
button and you can download for Linux. So here you can click on this download button again and you will get Linux 32 bit and 64
2:27
Let's click on 64 bit because almost all of us use a 64 bit system
2:32
Click save the file and hit ok. This will take some time
2:35
So the downloading is done now. I can simply open the folder. I can close this browser from here
2:43
So here is the downloaded file. So I can simply extract this file here
2:47
So I'm going to click extract here and this will extract the file
2:52
I'm going into the folder. So this is the postman here. So I will simply open up a terminal here and I will try to execute this file So this is postman I will hit enter and this will basically start the postman so here you can create an account if you want and if you do not want then you can
3:15
simply click here and this is skip signing and take me to the straight page
3:20
so here you will get this window and here you can even enable the dark theme
3:25
mode here and you can start using this tool so for example if you want to query
3:30
any URL you can simply get an URL and paste it here basically so I'm going to
3:35
get the URL from the from here I'm going to into the okay so it's working so I'm
3:44
going to hit send button here and this will basically query the data from the
3:49
website so here is the tool up and running in the Linux so this way you can
3:53
install this tool in the system so that was the video on how you can get the
3:59
postman and install it in your system and I'll catch you in the next one till
4:04
then take care and keep enjoying Linux