Hello, everyone, in this we do we will see how to act on insects that we're Dages, we will take a
phones and we will write articles and for the name of the article in food, that is going to be an object.
And the first property is learn the act, which is going to have an object.
And inside this we will have a property performance that is going to be an empty area.
OK, and then we need similarly for long board and my thoughts on the act.
OK, so long.
And the third one is my thoughts on learning.
We asked.
OK, let me say this file.
Now, we will create that out using post request.
So let's remove all this and I'll write app start post and for the name, for the endpoint, we will
write slash EPA slash articles, slash all name slash and hyphen comment.
OK, and for the fall back we required request and response.
And for the response for the first, we will go to Bush and decide what we want in the body.
OK, so let's go to Faustman and we need to change the end point first, intellect first, and then
we will change this and point to API slash articles, slash lonard slash ad formants, OK, and make
sure that you selected body inside this body at all.
And this send this selected.
OK, and here we need to change this.
OK, so we need to use other means.
I like to use a name and this is a fake data.
So like me and this is the actual post, I'll give the text and the post will be I like this article.
OK, as now we have decided what will be inside the body.
Now let's go to the phone and send this body, OK?
So we want user name and text from request our body.
So I be structured so const user name text and we want it from the start.
OK, and then we need to barometer's being so that I'm named.
So after this article name this is the variable name.
Whatever you want to do you can do it.
But this would be the start.
Saddam's last name.
OK, start by name.
This is the name of that.
You are not alone.
OK, so this will be saved in this variable.
Now to add to come in, we are going to write articles in full.
OK, so this is the article info and we are going to pass I think the name.
Documents don't push, they're going to push to object, which is the name, and the second is text.
OK, let's say this and now we will take the status quo response star status.
That is going to be two hundred two hundred means everything is fine, working fine, send articles
in full and inside this article.
OK, let's say this and now let's test this out by going to Posman.
So let's go to Faustman and let's hit the send button.
So we got the response, we got the user name me, and we got text.
Now let's update another user name.
So I let someone else.
Someone else.
OK.
And I love this post.
OK, let's send button.
So as you can see, we got all the comments.
But there is a problem which we have to solve.
So everything we write is in strategy.
So what will we make?
Changes.
This will get update.
OK, so whatever data which is inside will also get some data.
Let's say if I kill the server, OK, and if I start again, let's start OK.
But now this one has started.
If I go to Faustman and if I hit send button.
So as you can see, that previous comment was deleted and we only got this one coming, so we need to
fix this issue and to fix this.
We will be using database that we will see in the next video.
So this is it for this.
We do have 19 including.