Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
Guys, welcome to the course of Lavallade Epidaurus material, this is part of the 27 and satisfied
you will see the EPA.
If I go back to Ed, in the last video, we had successfully completed all the EPA of registration,
lockin profile and logout.
Also, we had seen the Sanctum Tolkan now this time for good work on the Project Control are so good
at Paultre AEB Comptrollers, EPA and here we have Prozac.
Canterlot, what we know and satisfied you Woolfolk over this create Brossette method.
So as we know that from data stable.
And so this table we need to Parramatta's student ID, Neame description antipollution to create any
Prozac student ID we will get from the Sanctum Dukan rest all the parameters like name and description
and duration we will receive from the body barometer's.
We will apply the validation or input feels like for the name, description and duration.
A friend I'll leave.
These files are mandatory if I go back to Ed.
So first of all, we will implement all about validation.
Create data and say this created also we will get student I.D., then create data civil and finally
send response.
Now, first of all, let's apply validation.
So as we know that we will pass Sanctum Tokin as well as body parameters.
Now we will apply the validation over only the body parameters because relist the Sanctum Tolkan automatically.
It will be validated by Sanctum Midle.
We are not here to request validate inside this any little we have naem.
Next we have a description and we have duration for this Manfield Litsa that this will be required if
I copy.
And now wny description and duration.
These three files are required now.
Next we to receive student ID so how can we get student ID privileges.
Different idea from Sanctum Tolkan in the last video if we open this student controller.
Now here is the filippa to read student data simply or the user data will use all the help of function
and user methode.
It's art and Hueso will the area of user information, and this is accessing the user information on
the behalf of access to what we are passing.
So what does a controller look to that student on the school ID equals to what then?
User and after that will pass ID akinfeev back to he'll go inside this profile.
Filippa, let's log in this user one more time.
First of all, we need to start developing several.
So patriotic serve.
Dollar price of oil started click here.
Sanctum too concentrated.
So if I copy, go inside this Filippa Persil, click on Send Button and as you can see that inside this
data we are getting user information and these are the information is basically written by all user
look I look at here.
So this all information's what we are seeing here.
This is all written by art user.
Now we want the ID from this offset.
So what we will do simply odd user and ID.
So by adding these now we are adding only the student ID.
Now next.
First of all, good here.
Let's create an instance of that model.
So first of all, the importance we use Buzzacott successfully.
We have imported our product model now and asked me to create, for instance, project equals to new
project and finally, let's say project inside perceptible.
We have student ID as a column name.
Next we have project need.
Two more films we have.
So if I copy paste two more times package it will student ID name next we have a description, so copy
and paste.
And finally we have to copy and paste and all these values.
We are getting it here.
So for the student ID we have the variable called student ID.
Next we have for the name we will get from the request description lets request.
And we will pass description as a key if I copy pasting it here and again, if I copy, and this time
this is for the duration so successfully.
Now here we have tried the student.
It created an instance of project model, math assignment of all the values.
And finally, we will call the save method file.
You need to send a response.
So let's return response.
Jason, inside this Litsa status equals Duvan message.
Let's say percept.
Has been created now, if you see all these changes, go here and to call this great project, The Road,
we have got Roads, Fulda, EPA, DOT, BHP and inside this middleware group block here we have the
outcall year Typhon project and the request types would be porc request.
I back to man come up with this.
You want to open a new tab pasting it here and this time this is great hyphen project selecting post.
Agrest I go inside this Hadass read to pass content type equal to application Jaeson accept application
jaeson authorization as the key and inside these read to pass the token Suheil.
We have generated a token of this user.
So what I will do is simply copy this access token value gahima authorization passing.
I'll be putting a space here and then the key goal inside this body because we need to pass the other
three parameters like Naem description and duration.
So inside this body, select role and inside this little.
Next we have a description and we have duration.
So inside me, let's say project one inside description, sample content of project.
And duration letter for six months now when I click on the send button, as you can see, that product
has been created back to table click here.
And as you can see, that student ID goes to to name here, description here and tuition here.
So successfully, guys, this is the EPA we have created for create Prozac successfully.
We had read the student ID from access to can and that access token is basically a s.m token.
Now the next video, we will work for the automated like list at API.
So this was the video for the Create Prozac.
And inside this video, we had followed each step in very detail, like we have validation here.
We are accessing the student ID from Dukan, created an instance of Pursat model, assigned all the
values saved inside database and finally sending a response here.
So far this decision.
Guys, thank you for watching and have a great day.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.