WEBVTT

00:00.720 --> 00:08.200
How everyone after we already got the data from the cloud.

00:08.240 --> 00:21.680
Anyway, I want to somehow send this data into the, uh, some invoice to update or sorry to, uh,

00:22.840 --> 00:28.640
okay to update the media URL.

00:29.160 --> 00:36.280
For now, let me, uh, refactor the URL a little bit instead of only put the string over here.

00:37.360 --> 00:41.120
We need to create a class for media.

00:43.200 --> 00:43.600
I.

00:46.680 --> 00:55.360
Put it in a reverse version, something like here, let me go back and put that.

01:01.440 --> 01:03.200
Will arrive ahead.

01:11.360 --> 01:12.200
Of the bar.

01:17.960 --> 01:19.000
With my name.

01:20.360 --> 01:21.080
Spring.

01:23.400 --> 01:23.840
Bar.

01:24.480 --> 01:24.960
Spring.

01:24.960 --> 01:27.760
Russell and Rachel.

01:27.800 --> 01:28.240
Di.

01:29.480 --> 01:30.320
Spinoza.

01:30.960 --> 01:31.800
Okay, guys.

01:32.280 --> 01:35.760
And with here, I will replace with the media type.

01:35.800 --> 01:36.320
Right.

01:37.000 --> 01:37.480
Okay.

01:37.720 --> 01:39.960
And in later I want to create.

01:43.480 --> 01:44.520
One more endpoint.

01:48.360 --> 01:52.800
Like a block media.

01:53.720 --> 01:54.240
Okay.

01:54.280 --> 01:55.160
To the boss.

01:56.960 --> 01:59.890
And right here I will have a Boss.

02:02.010 --> 02:04.450
The last to.

02:06.530 --> 02:08.490
Apply or something like that.

02:08.530 --> 02:14.210
I want to be hopeless and buy right here and inside the body I want.

02:14.970 --> 02:16.930
It will look up.

02:20.730 --> 02:22.050
The wristband.

02:23.210 --> 02:26.730
Okay, now remember it.

02:26.730 --> 02:34.090
Later, when we upload the media, we will go to API.

02:34.130 --> 02:34.610
Okay?

02:35.170 --> 02:44.170
We will control API one API for get the URL of the Cloudinary and the second API for the blog.

02:45.690 --> 02:48.610
Back to the boss.

02:49.170 --> 02:56.050
Okay, so for the result, after we already receive the data, I will send the message.

02:56.530 --> 02:59.330
I will send something like that out over here.

02:59.690 --> 03:08.930
Okay, I will save it till noon and then it will somehow update the boss.

03:12.890 --> 03:14.050
That's what I want.

03:14.450 --> 03:21.010
So let us visit the boss inside a little.

03:21.050 --> 03:27.770
I will create a blog media dot dot js.

03:28.330 --> 03:28.970
This is the here.

03:28.970 --> 03:30.410
Let's import the class.

03:35.610 --> 03:37.930
Right here will be the same width here.

03:39.890 --> 03:46.530
And we need to add a little bit of check in over here.

03:48.530 --> 03:50.290
This number right.

03:52.210 --> 03:52.570
Okay.

03:53.650 --> 03:54.090
Print.

03:58.130 --> 03:58.490
The.

04:01.850 --> 04:03.330
Market is not empty.

04:03.370 --> 04:05.970
It will be very enough right now.

04:07.370 --> 04:07.730
Okay.

04:07.770 --> 04:09.810
I want to send some stuff like that.

04:13.530 --> 04:17.410
And let me go to the boss and solve it.

04:17.810 --> 04:20.090
I will create another service.

04:24.650 --> 04:27.130
So what?

04:30.210 --> 04:30.930
Maria.

04:33.130 --> 04:35.490
And we will talk.

04:38.650 --> 04:40.530
About Maria.

04:42.570 --> 04:43.290
Later.

04:44.730 --> 04:47.210
We will block Maria.

04:47.490 --> 04:48.290
You are right.

04:48.330 --> 04:48.770
Okay.

04:52.090 --> 04:52.610
Over here!

04:57.890 --> 04:59.810
Now let me console.log.

04:59.850 --> 05:01.530
What is a clock media?

05:01.970 --> 05:11.970
First, to make sure it works and inside the box controller right here I will create.

05:14.330 --> 05:15.690
Batch method.

05:17.010 --> 05:24.570
Okay, we can use post method if you want but I can replay I will use batch.

05:47.850 --> 05:53.290
So we are here and of course we will talk now.

05:54.730 --> 05:55.250
Array.

05:55.780 --> 05:57.140
Select a block.

05:57.500 --> 05:57.980
Okay.

05:57.980 --> 06:08.180
We will block for specific box and make sure you boost this environment here above the here.

06:08.700 --> 06:11.580
If if we boost below it will not work.

06:12.340 --> 06:13.260
Make sure that.

06:15.540 --> 06:16.220
Let me say.

06:19.980 --> 06:21.220
Let me get on.

06:21.260 --> 06:21.780
Boss.

06:22.020 --> 06:22.580
Boss.

06:24.780 --> 06:25.020
Uh.

06:25.020 --> 06:25.940
Right here.

06:27.100 --> 06:27.460
Hmm.

06:30.100 --> 06:36.420
Why hadn't I already remove some?

06:36.420 --> 06:36.940
Boss?

06:37.500 --> 06:38.020
Let me see.

06:38.300 --> 06:38.660
Here.

06:43.660 --> 06:44.540
Let me try to get.

06:50.980 --> 06:54.740
A block media mode over here.

06:58.460 --> 06:59.140
And.

07:06.540 --> 07:07.820
Check my terminal.

07:08.140 --> 07:11.940
Alright, we already got a ride with the little.

07:11.980 --> 07:12.580
Over here.

07:12.620 --> 07:13.060
Right?

07:13.460 --> 07:16.060
And we will save that into the database.

07:16.820 --> 07:19.100
So let's do that.

07:27.820 --> 07:32.460
So here we need to boost the the ID right here.

07:32.660 --> 07:39.220
So let me copy that over here.

07:42.180 --> 07:43.260
And most likely.

07:45.300 --> 07:48.900
These are the blog media that I.

07:51.420 --> 07:51.860
Follow.

07:51.900 --> 07:54.460
We need to find the right bus.

07:54.460 --> 07:54.580
box.

08:17.940 --> 08:23.500
Cutter with a robust review media URL.

08:24.260 --> 08:24.780
Right.

08:26.100 --> 08:26.500
Um.

08:29.740 --> 08:32.740
We can look for us.

08:35.020 --> 08:37.180
At the best UI.

08:39.060 --> 08:40.060
We I will look.

08:45.620 --> 08:46.620
After here.

08:56.630 --> 08:57.470
I will post.

09:12.510 --> 09:13.830
Something like that.

09:14.190 --> 09:16.470
And maybe a wife boss boss site.

09:21.630 --> 09:23.630
Is right here.

09:24.350 --> 09:31.870
And I think we can remove the entire question right now and you can move.

09:31.870 --> 09:33.670
The default will be empty, right?

09:33.710 --> 09:36.550
It's much more better, right?

09:38.270 --> 09:39.670
So here let's remove.

09:44.150 --> 09:50.630
So let's face that we don't need to return anything.

09:56.350 --> 10:01.790
Let me set success and let's check another way.

10:03.870 --> 10:04.230
Okay.

10:04.270 --> 10:05.990
Firstly I will check the database first.

10:11.230 --> 10:16.310
Right here we already got some media tags.

10:17.030 --> 10:19.950
Very very good right.

10:21.590 --> 10:35.270
And in one one if I get the here okay it will show us all.

10:37.630 --> 10:38.790
And boss.

10:41.070 --> 10:42.310
Lets us.

10:49.590 --> 10:50.230
Okay.

10:51.030 --> 10:53.310
It's already Work.

10:55.710 --> 11:00.550
Let me double check this one right here.

11:01.910 --> 11:03.270
We already spoke.

11:05.670 --> 11:05.870
With.

11:09.950 --> 11:10.310
Bob.

11:17.670 --> 11:18.270
Okay.

11:22.750 --> 11:23.270
Thanks.

11:25.710 --> 11:26.710
For your time.

11:29.190 --> 11:30.230
This is the glass.

11:41.430 --> 11:41.710
Plate.

11:41.710 --> 11:42.110
Okay.

11:44.510 --> 11:45.030
Okay.

11:49.150 --> 11:49.710
Okay.

11:49.950 --> 11:51.350
So that is.

11:51.390 --> 11:55.350
That's how we can apply the data.

11:56.470 --> 12:00.870
And actually, I completely, um.

12:04.350 --> 12:12.310
I completely actually, we we don't need to send, uh, the URL from here.

12:12.350 --> 12:12.830
Okay.

12:14.630 --> 12:19.230
We only need to the URL to for the front end.

12:19.670 --> 12:20.070
Okay.

12:20.110 --> 12:22.310
The back end only need to fill.

12:22.950 --> 12:23.390
Okay.

12:23.390 --> 12:24.310
Let's send again.

12:24.830 --> 12:25.710
Let me send again.

12:26.270 --> 12:28.750
And you will see right here.

12:28.750 --> 12:36.470
You will see we have a four element it later we will use to uh.

12:39.030 --> 12:39.910
Remove.

12:44.790 --> 12:45.310
Okay.

12:49.670 --> 12:51.800
For now it's already you got the id?

12:52.320 --> 12:53.760
The URL over here.

12:55.080 --> 12:55.520
Okay.

12:55.760 --> 12:56.960
Just ignore that.

13:07.840 --> 13:08.400
Apply.

13:31.600 --> 13:32.040
Okay.

13:33.880 --> 13:35.720
Let me remove it a little bit.

13:35.760 --> 13:36.360
Annoyed.

13:37.320 --> 13:37.880
Okay.

13:38.640 --> 13:40.000
Click on update over here.

13:42.280 --> 13:43.440
And it will remove.

13:43.480 --> 13:48.800
So guys that's it for the video.

13:48.840 --> 13:50.680
And I will see you in the next one.
