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 EPDP material, this is part of a study inside this video
see presented API.
So if I go back to Ed in the last video, step by step, we had completed all the epis means all the
matters of this process control only.
We have the last Tatis delete Persad.
So from this method, what we want when we pass to put that idea into the world.
First of all, we need to check that if a student has been created this project or not, if the authenticated
user has created that Prosek, then we will delete from databased will otherwise access denied.
Soheil, first of all, inside this methode we to receive student ID from Sanctum Tolkan solitaires
student ID equals to art user and he will use ID.
After getting student I.D. now, next here, we have the value of a student ID and here's the value
of product ID.
So we need to compile as what what what we did in the last video to check that the project accessed
on the behalf of this ID as well as on behalf of a student ID.
So the same steps we need to do for this delete product.
EPA Kahir inside this block.
Litsa, if fossicked vehicle making an entry and later that I.D. equals to I.D. and here student on
the school I.D. equal to student I.D. and free to use excessed mattered.
And finally, if Prusak does not exist of that a student or efore invalid product ID we have.
So in that situation we have the response has not found otherwise.
If product exist off this student and this ID, then if we need to find that present from database will
and delete that suheil Prozac equals to Prozac, Litzow will make any I.D. equals to idy student ID.
I.D. and we will use first method, so here from these lanes, what we are doing simply on the behalf
of this project, it means Heidi and student I.D. We are finding Brossette subsect from people after
finding this OPSEC.
We need to delete that.
So to delete, we will use delete nattered and finally sending a response, return response.
Jason, making an every little status equals to fun and message.
The sect has been deleted.
Successfully now, if you see the change to call this matter the world we have, if we go inside this
group, the UN, we have called with the delete request type and delete hyphen Brozak while calling
this method read to pass the post that idea into the back to post.
Man, if I copy this, you go here open to a new type.
What I will do if we want to copy all the header barometer's what we have passed here.
Simply go here and click on bulk edit as we can see that we are getting all the keys.
Simply copy.
He'll go to this episode out, click on headers, click here on the bulk added pasting it here again.
Click on key hyphen value added.
Now as you can see that had inputted successfully.
So this time instead of single project we have delete hyphen Prozac.
Now let's add that we want to delete this second no brozak from this table so that ID goes to two and
student ID equals to two.
But instead of passing a student ID directly, we will pass the sentence token.
So back to postman go here.
First of all, going to generate the sanctum token of this user.
So I think that we have already generated.
So here it is.
I will copy this alteration key from this header.
Go here for the delete hyphen project Busoni to changing from catagories type to delete request type
and passing here the usual.
And into this you'll be to pass the Prosek ID.
So for now if we pass project ID close to five and as we know that this project does not accessed click
on send button brozak not found but when we pass to.
So after getting this to value and the student ID from this sanctum token, it will check here for the
first piece of code.
It returns true value.
It will go inside this block, create a Prosek object and finally it will delete that pacta postman
click on send button.
Prozac's has been deleted successfully.
We fight back to our browser database, go and reload and as we can see that the product ID was to do
has been now successfully deleted from this table.
Not again, the same request if we hit one more time.
And this time, as we know that this Prosek deleted so does not exist inside that they will click on
send button Prosek not found so successfully, guys, state by state.
Now we have completed our second phase of epitaph print using sanctums authentication.
I will draw the source code of this epiphysis to into the source of this feed your so far inside this
course, we have seen the basic concepts of EPA development, normal EPA Delaplane that that was phase
one.
And here we had seen the concept using s.m authentication.
That is phase two.
From the next video, we will discuss all about EPA development.
That is phase three using GwG token authentication.
And one more thing that all the source code of this EPA phase two, I will drop into the resource section
of this video.
You can download the whole source code from the so far this session.
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.