1
00:00:00,390 --> 00:00:06,270
Last time, we already pop up the error message and error topcoat, but.

2
00:00:07,810 --> 00:00:19,060
It's better to create a separate function, so we create a alert area is equal to the functions.

3
00:00:22,120 --> 00:00:25,870
So we passed to era to the.

4
00:00:28,200 --> 00:00:34,740
So we passed the era to these functions and then we extract these and put it inside the functions,

5
00:00:36,430 --> 00:00:43,200
and then we change this to, oh, and we are going to create a aira object.

6
00:00:46,300 --> 00:00:47,560
And then this has the name.

7
00:00:50,040 --> 00:00:50,610
Email.

8
00:00:51,950 --> 00:00:53,120
And also possible.

9
00:00:54,830 --> 00:00:58,820
So if there's no way around, you, just display the empty string.

10
00:01:00,580 --> 00:01:01,180
And so.

11
00:01:02,930 --> 00:01:04,910
If we all fill up the air on.

12
00:01:09,620 --> 00:01:11,450
And then we send a request again.

13
00:01:12,530 --> 00:01:16,000
We have to pass the functions here first.

14
00:01:21,270 --> 00:01:25,020
And then we use red dots and.

15
00:01:32,850 --> 00:01:37,020
Era in great use for us, so we send that we CRAs.

16
00:01:46,590 --> 00:01:51,240
We should correct these two rather than triple oh.

17
00:01:53,600 --> 00:01:56,900
And we say this and we send that we class again.

18
00:01:59,950 --> 00:02:03,940
Now, you see there's a lot of things about the era.

19
00:02:05,120 --> 00:02:12,740
So you can see stuff on here is the aisle, the era object, and we just want to take this.

20
00:02:14,310 --> 00:02:18,180
So we are going to check the message if this haunting.

21
00:02:19,250 --> 00:02:27,680
Please tell us if this continues to happen and we will alert the object, so first we are going to check

22
00:02:27,680 --> 00:02:40,670
if the error message to include the test, then we are going to consult out the error errors.

23
00:02:43,140 --> 00:02:50,700
So for Stupefy, the thing I changed is to elaborating in PowerPoint, what we get is on the left hand

24
00:02:50,700 --> 00:02:54,160
side, which have the Properties Kydd and also other things.

25
00:02:54,960 --> 00:03:02,820
So when you look at this, it has the email and the email containing these properties, kind of where

26
00:03:02,820 --> 00:03:03,930
it was and reasons.

27
00:03:04,440 --> 00:03:11,730
And also we have the password and also it also has the right path and also values.

28
00:03:12,150 --> 00:03:20,450
So you can skip this test and if you skip past messy things, you will see this kind of object and what

29
00:03:20,460 --> 00:03:24,550
our mission is to change this to an array of object.

30
00:03:24,690 --> 00:03:26,970
So two changes to our way of object.

31
00:03:27,240 --> 00:03:34,220
We used object values, so it will take out all the keys and just has the values.

32
00:03:34,560 --> 00:03:43,800
So, for example, if we just use object dot values and Erato areas, maybe we first come in or these

33
00:03:44,100 --> 00:03:47,370
other things and then we send that we crash.

34
00:03:49,400 --> 00:03:56,330
Now, you can see it already changed to an array rather than an object, and since of what is useful

35
00:03:56,420 --> 00:04:01,530
is the properties, because it has the name, it has the power.

36
00:04:02,210 --> 00:04:05,570
So we can replace this with this message.

37
00:04:06,680 --> 00:04:17,630
So, for example, if we take this out, then window for each and every console, not the era properties,

38
00:04:18,750 --> 00:04:21,360
so we just display these objects.

39
00:04:21,620 --> 00:04:27,140
Now, if we send the request now, it is much cleaner because it's just display the object.

40
00:04:27,150 --> 00:04:28,850
The first is about the name.

41
00:04:29,980 --> 00:04:36,280
And the other is about the email and the first one is about the password, and it seems we want to be

42
00:04:36,300 --> 00:04:44,200
pastry's, we've done the message so we can use the structure to get the properties.

43
00:04:45,670 --> 00:04:49,420
Now, if we just display the properties, it will have to send out.

44
00:04:50,960 --> 00:04:52,040
We send a request.

45
00:04:53,840 --> 00:05:01,020
And now you also get a piece of the objects and we are going to do is to set the area so we can get

46
00:05:01,020 --> 00:05:08,480
the power by using the properties of these two properties don't matter.

47
00:05:09,530 --> 00:05:15,720
So we the this and then and we try to control the area.

48
00:05:17,000 --> 00:05:21,430
So if there's nothing wrong, you should have the object.

49
00:05:21,440 --> 00:05:23,050
We have name, email and password.

50
00:05:23,870 --> 00:05:27,290
So we take on the request.

51
00:05:29,440 --> 00:05:32,890
And now we go to the bottom, you can see this object.

52
00:05:34,700 --> 00:05:45,440
And scenes that we want to return as an air force so we cannot cross you eagle to alert areas and on

53
00:05:45,440 --> 00:05:51,160
the top instead of constant, not going to be turned around.

54
00:05:52,650 --> 00:06:02,040
Now, we are going to return this to the high inside, so in here we type response status and four hundred

55
00:06:02,610 --> 00:06:07,320
and thirty thousand and then terrasse.

56
00:06:08,400 --> 00:06:14,310
Now if we Sandi's and we crash now, the Airbus can be created inside the car inside.
