Hello, everyone, and this we do, we will see how to test our back end using Faustman, so for that
we need to download and install Faustman.
OK, so if you want to download Beauchemin, you need to go to postwoman dot com slash downloads formula.
You can download Huelsman and install it in your machine.
I have already downloaded and installed.
Now we need to open porcelain.
So make sure that your app is still running.
OK, so mine is running.
If I go to Posman now, we will use Posman to send the guest list to the server on the lower end point.
So that will look something like this.
OK, if I add this plus now I need a graphic list.
So it's TDP.
Phoolan Slash Slash Localhost Phoolan eight thousand slash.
Hello.
And we need to hit the send button.
So as you can see, we get the response to so list is used to get information from this network, such
as article content and user information and post request.
OK, so there's a specific list as well.
So posted list is used to modify on the service, such as if we want to add a comment to an article
or changing user name.
OK, now let's see a quick example of Singapore's request to work.
So for that, we need to do a quote and we need to add another round.
OK, so let's add another round.
So after all this time, we need to go.
Stigma's still dot post and we will use the same end point.
So slash hello.
And we will use the same call back.
OK, so request response and your response start saying and your message will be saying hello.
Let me say this right now we need to restart the server.
So I'll just stop the server at the single currency and do node source server Dargis.
OK.
So now that server has been restructured.
Now let's go to Faustman.
And we need to select post and let's send button.
So we've got the same response back hello.
Now let's see how to send data to the server along with the posted list to post.
Mine has a body window and we can define the request for our post requests.
Let's check the draw.
And you're top down.
We need to select Jason Object and we can add whatever data we want.
For example, we create adjacent object with the name and the URL.
We can pass our name.
So when we send this post request, we want the server to reply with hello and then our name inside
this thing.
And in order to do this, we need to do a few things.
So first, we need to install another module for all body parts.
So let's go to the studio and let me stop this server, OK?
And we need to install body processor and being installed.
I find offensive body parts.
And it entered somebody's pass allows those to expect adjacent data that we sing along with our request
internally.
OK, so now Inside said we're is we need two things.
First, we need to import the body passes so fast.
Body also equals to declare more deposit and then you're going to have to use body parts of Jason.
OK, let's say this five straight passes, that Jason object that we have included, along with our
first request and them about the property to the request of whatever the matching outfits.
OK, so now we can access the main property by doing something like the we need to change this year.
Instead, we can use a key and then we need to write a law dollar sign and we would like to request
the body, not name, so we can access the name from requestor body.
So let me save this file and we need to restart the service.
So node node SAAC slash Dargis and hit enter.
OK, so now this.
What has been stuck.
So now let's go to Faustman and we will hit this end point.
OK, so let's click on the same button.
So we got some of the names should also be in the books.
OK, so let's send them out.
As you can see, we got the output as a little something.
So this is how we can send post requests.
So this is it for this video.
And I'll see the next video by.