1
00:00:00,780 --> 00:00:08,550
And once we have our basic controllers that are in place now, it's also to start out in the postman.

2
00:00:09,150 --> 00:00:11,790
And here we want to go with another collection.

3
00:00:12,330 --> 00:00:19,590
And of course, I'll give it another name and I'm going to go with a zero five and pretty much the same

4
00:00:19,770 --> 00:00:20,840
as the name.

5
00:00:21,270 --> 00:00:24,690
So say here, JWT basics.

6
00:00:25,110 --> 00:00:30,540
And then in here we'll have to draw out one like you just saw is going to be to get one.

7
00:00:30,870 --> 00:00:37,160
And we're just going to be looking for the URL of I won't go with forward slash online.

8
00:00:37,170 --> 00:00:38,770
We're looking for a dashboard, of course.

9
00:00:39,270 --> 00:00:42,120
So that's going to be our GETRUDE once we send.

10
00:00:42,120 --> 00:00:47,160
Of course, we should see how John Doe, Gary Aurea, the lucky number is 90.

11
00:00:47,370 --> 00:00:51,240
And notice how every time we send, of course we'll get a different value.

12
00:00:51,690 --> 00:00:56,310
And this is done on purpose just to see that we are getting a new request out.

13
00:00:56,730 --> 00:00:58,680
And then, of course, I just want to save it.

14
00:00:59,250 --> 00:01:04,620
So let's say over here and of course, I want to save it here in my latest collection.

15
00:01:05,010 --> 00:01:09,440
And then I want to do the same thing with my other route, with logging one.

16
00:01:09,450 --> 00:01:11,990
But of course, that one is the correct.

17
00:01:12,270 --> 00:01:18,240
So let me close this one and we'll just start with post then we're looking for the URL.

18
00:01:19,110 --> 00:01:25,030
And of course, the drought is long in here, and just to jog your memory when it comes to the post

19
00:01:25,030 --> 00:01:31,440
drought, of course, we want to send some kind of data to the server because effectively we want to

20
00:01:31,440 --> 00:01:33,660
create a resource on a server.

21
00:01:33,900 --> 00:01:39,210
So therefore, we go with body, will go with the and set it equal to Jason.

22
00:01:39,480 --> 00:01:46,140
And in here we'll just go with username because this is what we'll be sending from our Fronton application

23
00:01:46,440 --> 00:01:47,900
as well as the password.

24
00:01:48,180 --> 00:01:53,550
And of course, since we're just testing everything out, we can go with whatever you want.

25
00:01:53,560 --> 00:02:01,140
And as I said in general, only check if the values are provided now in the following project, of course,

26
00:02:01,440 --> 00:02:04,920
this is where things are going to get way more interesting than that.

27
00:02:05,130 --> 00:02:11,190
But for now, you just want to send username online, Akama and of course, the password.

28
00:02:11,850 --> 00:02:17,310
And as far as the password, I think throughout this project, I'm just going to stick with a secret.

29
00:02:17,790 --> 00:02:23,970
And then once we send, of course, we have fake login, blah, blah, blah, which means that everything

30
00:02:23,970 --> 00:02:24,810
is correct.

31
00:02:25,170 --> 00:02:30,900
And once we have tested both the roots and once we have properly serve them in our collection.

32
00:02:31,170 --> 00:02:34,290
So let's just call this login register.

33
00:02:34,650 --> 00:02:38,160
And of course, we're going to start focusing on the real logic.

34
00:02:38,160 --> 00:02:42,300
Therefore, in here, I'm just going to say it and we can start working on our next task.

