WEBVTT

00:00.640 --> 00:02.360
Hi everyone.

00:02.360 --> 00:05.640
In this video we need to fix the gateway a little bit.

00:06.240 --> 00:06.640
Okay?

00:06.640 --> 00:17.120
You can see inside the create method, after we save the box into the database, we need to find that

00:17.440 --> 00:24.600
and create a response and send back over here with the post over here.

00:24.640 --> 00:25.160
Right.

00:25.920 --> 00:27.280
So this is the gateway.

00:28.360 --> 00:35.960
Now let I scroll a little bit to show you okay.

00:36.000 --> 00:38.000
Here upload media.

00:38.000 --> 00:40.480
And this here will be Replace media.

00:41.680 --> 00:45.520
Now let's see if we have some different with me.

00:46.000 --> 00:47.960
Let us okay.

00:52.040 --> 00:54.320
And this here we will remove media.

00:58.400 --> 00:58.920
Okay.

00:58.920 --> 01:02.280
Right now I hope you understand why I do that.

01:02.720 --> 01:06.960
You can see in here these are the handle create post.

01:07.680 --> 01:09.520
We have some stuff like that.

01:10.760 --> 01:18.080
Handle replace media handle block and remove.

01:20.640 --> 01:24.680
And handle of that.

01:24.880 --> 01:34.160
And the important part right now is I already build one model called the handle replace media.

01:34.200 --> 01:34.640
Okay.

01:35.040 --> 01:38.280
And of course this is the optional.

01:39.200 --> 01:39.640
Okay.

01:39.680 --> 01:49.480
But I, I built this function for the front end developer easier you can say inside the replay I already

01:49.480 --> 01:53.920
created something called replace media okay.

01:54.440 --> 01:55.960
These are replace media.

01:56.000 --> 02:03.080
Of course we need to replace anything remove everything and put that okay.

02:03.080 --> 02:05.520
It is exactly the same with upload.

02:06.000 --> 02:08.400
Accept this line okay.

02:08.440 --> 02:11.600
We need to reset everything and upload that.

02:12.760 --> 02:15.040
And everything should be the same.

02:16.080 --> 02:21.960
And create one more gateway over here okay.

02:23.680 --> 02:27.040
So you can see we have some stuff like that.

02:29.040 --> 02:31.320
And let me scroll.

02:31.440 --> 02:37.520
If you see we have some different you just need to modify with me okay.

02:38.840 --> 02:39.320
So.

02:43.040 --> 02:45.120
Plus for the video.
