1
00:00:00,150 --> 00:00:05,840
In this park, we are going to create a lot of functions and so we are going to focus on our API.

2
00:00:05,850 --> 00:00:14,190
So back to the old control on the server side, we are going to create a new trade case because we cannot

3
00:00:14,190 --> 00:00:21,270
delete it directly and instead we can create a random trade up to equal keys and begin a very short

4
00:00:21,270 --> 00:00:22,020
lifetime.

5
00:00:22,050 --> 00:00:28,010
So you did it dramatically and you will not out directly here.

6
00:00:28,440 --> 00:00:38,010
We can delete this message and that we use Bradstock cookies and then straight up you and then inside.

7
00:00:38,010 --> 00:00:40,200
Yeah, we create empty string.

8
00:00:40,200 --> 00:00:49,140
Actually everything is OK because it will verify this and they straight up this cannot be verified because

9
00:00:49,650 --> 00:00:54,150
because this is just a random string rather than created by three by token.

10
00:00:54,480 --> 00:01:03,350
So now we passed a message of one millisecond, so it just created and then they did it after one millisecond.

11
00:01:03,510 --> 00:01:06,750
And at last we have to pass the Jaiswal.

12
00:01:08,580 --> 00:01:18,210
Of all, it's true, actually, this is not a useful for our Web page, but we have to send something

13
00:01:18,210 --> 00:01:24,720
in order to make the Web site create these cookies, and we can combine these to let you see the effort

14
00:01:25,170 --> 00:01:28,080
if we do not have this sentence.

15
00:01:28,230 --> 00:01:35,370
Now, we came back to the con side and go to the NEFA and then inside here, and then constant logout

16
00:01:35,860 --> 00:01:38,550
is equal to the functions.

17
00:01:38,820 --> 00:01:46,980
And then we use the French and we can copy paste from app and then this is locked out and then we do

18
00:01:46,980 --> 00:01:54,870
not need this header because we are not going to post some data and then we are going to import the

19
00:01:54,870 --> 00:02:00,090
user content so we can copy from the chat component and then we paste here.

20
00:02:00,300 --> 00:02:03,030
And then we also need to use this.

21
00:02:03,210 --> 00:02:09,740
So we called PD and back to that NEFA and paste inside the component.

22
00:02:09,990 --> 00:02:20,130
And of course we have to import the youth contest and then we use anything we said Coniston response

23
00:02:20,130 --> 00:02:27,900
is equal to our weight and then Coniston data is equal to Restante Jaiswal and I'm going to download

24
00:02:28,290 --> 00:02:38,340
the data and then we said user to know and then we use to try catch and then we cut this and paste here

25
00:02:38,910 --> 00:02:45,890
and every console dot law to Ammara and then Ontake is equal to log out.

26
00:02:46,380 --> 00:02:49,570
And also we have to abide this function at the.

27
00:02:50,710 --> 00:02:57,620
Other Alberton, so we did this one and then we paste the functions here.

28
00:02:58,360 --> 00:03:04,610
Now, if we try to log out, you can see the great Opti still exist here.

29
00:03:04,780 --> 00:03:10,990
For example, if we look out, you can kind of see nothing happen that we can see is still here.

30
00:03:11,560 --> 00:03:19,930
However, if we go back to the server side and go to the off controller, we uncommanded and then we

31
00:03:19,930 --> 00:03:21,870
try again and look out.

32
00:03:22,630 --> 00:03:25,740
Now you kind of see the straight optical keys already deleted.

33
00:03:25,750 --> 00:03:30,690
And also the name also disappear because they are low user data access.

34
00:03:30,700 --> 00:03:37,630
And at last, we also want to let this go to a chat button, because now we do not need this to go to

35
00:03:37,630 --> 00:03:38,110
the chat.

36
00:03:38,530 --> 00:03:44,650
So we go to the con side and then we go to the home and we cut this button.

37
00:03:45,160 --> 00:03:46,970
So now the button has gone.

38
00:03:47,380 --> 00:03:50,680
So this is how we create this out API.
