Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,740 --> 00:00:08,060
Guys, welcome to the course of Lavallade Epidaurus material, this is part of the 27 and satisfied
2
00:00:08,060 --> 00:00:11,120
you will see the EPA.
3
00:00:11,840 --> 00:00:19,160
If I go back to Ed, in the last video, we had successfully completed all the EPA of registration,
4
00:00:19,430 --> 00:00:22,160
lockin profile and logout.
5
00:00:22,550 --> 00:00:31,160
Also, we had seen the Sanctum Tolkan now this time for good work on the Project Control are so good
6
00:00:31,220 --> 00:00:37,960
at Paultre AEB Comptrollers, EPA and here we have Prozac.
7
00:00:37,960 --> 00:00:44,390
Canterlot, what we know and satisfied you Woolfolk over this create Brossette method.
8
00:00:45,320 --> 00:00:47,660
So as we know that from data stable.
9
00:00:49,950 --> 00:00:57,780
And so this table we need to Parramatta's student ID, Neame description antipollution to create any
10
00:00:57,780 --> 00:01:06,990
Prozac student ID we will get from the Sanctum Dukan rest all the parameters like name and description
11
00:01:06,990 --> 00:01:10,800
and duration we will receive from the body barometer's.
12
00:01:12,280 --> 00:01:18,090
We will apply the validation or input feels like for the name, description and duration.
13
00:01:18,390 --> 00:01:19,470
A friend I'll leave.
14
00:01:19,740 --> 00:01:23,810
These files are mandatory if I go back to Ed.
15
00:01:24,540 --> 00:01:28,470
So first of all, we will implement all about validation.
16
00:01:32,930 --> 00:01:45,830
Create data and say this created also we will get student I.D., then create data civil and finally
17
00:01:46,040 --> 00:01:47,430
send response.
18
00:01:49,010 --> 00:01:52,070
Now, first of all, let's apply validation.
19
00:01:52,520 --> 00:01:58,730
So as we know that we will pass Sanctum Tokin as well as body parameters.
20
00:01:59,240 --> 00:02:08,090
Now we will apply the validation over only the body parameters because relist the Sanctum Tolkan automatically.
21
00:02:08,090 --> 00:02:10,690
It will be validated by Sanctum Midle.
22
00:02:10,700 --> 00:02:20,790
We are not here to request validate inside this any little we have naem.
23
00:02:21,590 --> 00:02:33,380
Next we have a description and we have duration for this Manfield Litsa that this will be required if
24
00:02:33,380 --> 00:02:34,130
I copy.
25
00:02:35,990 --> 00:02:39,800
And now wny description and duration.
26
00:02:40,070 --> 00:02:43,620
These three files are required now.
27
00:02:43,640 --> 00:02:49,540
Next we to receive student ID so how can we get student ID privileges.
28
00:02:49,560 --> 00:02:56,520
Different idea from Sanctum Tolkan in the last video if we open this student controller.
29
00:02:57,410 --> 00:03:05,660
Now here is the filippa to read student data simply or the user data will use all the help of function
30
00:03:05,810 --> 00:03:07,460
and user methode.
31
00:03:08,370 --> 00:03:16,770
It's art and Hueso will the area of user information, and this is accessing the user information on
32
00:03:16,770 --> 00:03:19,740
the behalf of access to what we are passing.
33
00:03:20,250 --> 00:03:29,820
So what does a controller look to that student on the school ID equals to what then?
34
00:03:29,820 --> 00:03:38,350
User and after that will pass ID akinfeev back to he'll go inside this profile.
35
00:03:38,400 --> 00:03:41,450
Filippa, let's log in this user one more time.
36
00:03:42,420 --> 00:03:44,730
First of all, we need to start developing several.
37
00:03:47,880 --> 00:03:49,650
So patriotic serve.
38
00:03:53,110 --> 00:03:56,200
Dollar price of oil started click here.
39
00:03:59,040 --> 00:04:00,640
Sanctum too concentrated.
40
00:04:00,960 --> 00:04:12,300
So if I copy, go inside this Filippa Persil, click on Send Button and as you can see that inside this
41
00:04:12,300 --> 00:04:20,300
data we are getting user information and these are the information is basically written by all user
42
00:04:20,760 --> 00:04:22,070
look I look at here.
43
00:04:22,380 --> 00:04:25,420
So this all information's what we are seeing here.
44
00:04:25,680 --> 00:04:28,290
This is all written by art user.
45
00:04:29,370 --> 00:04:33,000
Now we want the ID from this offset.
46
00:04:33,480 --> 00:04:38,190
So what we will do simply odd user and ID.
47
00:04:38,940 --> 00:04:43,410
So by adding these now we are adding only the student ID.
48
00:04:43,530 --> 00:04:44,370
Now next.
49
00:04:45,240 --> 00:04:47,350
First of all, good here.
50
00:04:47,400 --> 00:04:49,690
Let's create an instance of that model.
51
00:04:50,100 --> 00:04:55,320
So first of all, the importance we use Buzzacott successfully.
52
00:04:55,330 --> 00:05:04,020
We have imported our product model now and asked me to create, for instance, project equals to new
53
00:05:05,220 --> 00:05:13,050
project and finally, let's say project inside perceptible.
54
00:05:13,350 --> 00:05:15,990
We have student ID as a column name.
55
00:05:16,710 --> 00:05:19,680
Next we have project need.
56
00:05:21,440 --> 00:05:22,710
Two more films we have.
57
00:05:22,720 --> 00:05:32,100
So if I copy paste two more times package it will student ID name next we have a description, so copy
58
00:05:32,100 --> 00:05:32,740
and paste.
59
00:05:33,150 --> 00:05:38,910
And finally we have to copy and paste and all these values.
60
00:05:39,120 --> 00:05:40,300
We are getting it here.
61
00:05:41,010 --> 00:05:45,410
So for the student ID we have the variable called student ID.
62
00:05:45,690 --> 00:05:53,880
Next we have for the name we will get from the request description lets request.
63
00:05:56,580 --> 00:06:06,480
And we will pass description as a key if I copy pasting it here and again, if I copy, and this time
64
00:06:06,780 --> 00:06:09,920
this is for the duration so successfully.
65
00:06:09,930 --> 00:06:11,760
Now here we have tried the student.
66
00:06:11,760 --> 00:06:17,390
It created an instance of project model, math assignment of all the values.
67
00:06:17,640 --> 00:06:23,530
And finally, we will call the save method file.
68
00:06:23,700 --> 00:06:25,080
You need to send a response.
69
00:06:25,290 --> 00:06:27,870
So let's return response.
70
00:06:28,830 --> 00:06:37,110
Jason, inside this Litsa status equals Duvan message.
71
00:06:38,920 --> 00:06:40,290
Let's say percept.
72
00:06:44,910 --> 00:06:54,570
Has been created now, if you see all these changes, go here and to call this great project, The Road,
73
00:06:54,570 --> 00:07:02,950
we have got Roads, Fulda, EPA, DOT, BHP and inside this middleware group block here we have the
74
00:07:02,970 --> 00:07:07,950
outcall year Typhon project and the request types would be porc request.
75
00:07:07,950 --> 00:07:11,760
I back to man come up with this.
76
00:07:11,760 --> 00:07:23,100
You want to open a new tab pasting it here and this time this is great hyphen project selecting post.
77
00:07:23,100 --> 00:07:34,800
Agrest I go inside this Hadass read to pass content type equal to application Jaeson accept application
78
00:07:34,800 --> 00:07:42,030
jaeson authorization as the key and inside these read to pass the token Suheil.
79
00:07:42,450 --> 00:07:45,110
We have generated a token of this user.
80
00:07:45,720 --> 00:07:52,860
So what I will do is simply copy this access token value gahima authorization passing.
81
00:07:52,860 --> 00:08:01,530
I'll be putting a space here and then the key goal inside this body because we need to pass the other
82
00:08:01,530 --> 00:08:05,310
three parameters like Naem description and duration.
83
00:08:05,550 --> 00:08:10,590
So inside this body, select role and inside this little.
84
00:08:12,420 --> 00:08:17,880
Next we have a description and we have duration.
85
00:08:18,540 --> 00:08:27,720
So inside me, let's say project one inside description, sample content of project.
86
00:08:30,090 --> 00:08:39,720
And duration letter for six months now when I click on the send button, as you can see, that product
87
00:08:39,720 --> 00:08:43,250
has been created back to table click here.
88
00:08:44,160 --> 00:08:51,180
And as you can see, that student ID goes to to name here, description here and tuition here.
89
00:08:52,110 --> 00:08:57,930
So successfully, guys, this is the EPA we have created for create Prozac successfully.
90
00:08:57,930 --> 00:09:06,520
We had read the student ID from access to can and that access token is basically a s.m token.
91
00:09:07,800 --> 00:09:13,990
Now the next video, we will work for the automated like list at API.
92
00:09:14,580 --> 00:09:16,980
So this was the video for the Create Prozac.
93
00:09:17,190 --> 00:09:24,390
And inside this video, we had followed each step in very detail, like we have validation here.
94
00:09:24,390 --> 00:09:31,020
We are accessing the student ID from Dukan, created an instance of Pursat model, assigned all the
95
00:09:31,020 --> 00:09:35,990
values saved inside database and finally sending a response here.
96
00:09:36,960 --> 00:09:38,060
So far this decision.
97
00:09:38,070 --> 00:09:40,380
Guys, thank you for watching and have a great day.
9611
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.