All language subtitles for 14. Delete Project API

af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
tl Filipino
fi Finnish
fr French Download
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,640 --> 00:00:07,970 Guys, welcome to the course of Lavallade EPDP material, this is part of a study inside this video 2 00:00:08,510 --> 00:00:10,610 see presented API. 3 00:00:11,210 --> 00:00:18,770 So if I go back to Ed in the last video, step by step, we had completed all the epis means all the 4 00:00:18,770 --> 00:00:21,440 matters of this process control only. 5 00:00:21,440 --> 00:00:24,140 We have the last Tatis delete Persad. 6 00:00:25,010 --> 00:00:30,200 So from this method, what we want when we pass to put that idea into the world. 7 00:00:30,500 --> 00:00:40,070 First of all, we need to check that if a student has been created this project or not, if the authenticated 8 00:00:40,070 --> 00:00:47,570 user has created that Prosek, then we will delete from databased will otherwise access denied. 9 00:00:48,410 --> 00:00:56,270 Soheil, first of all, inside this methode we to receive student ID from Sanctum Tolkan solitaires 10 00:00:56,270 --> 00:01:06,620 student ID equals to art user and he will use ID. 11 00:01:08,280 --> 00:01:14,820 After getting student I.D. now, next here, we have the value of a student ID and here's the value 12 00:01:14,820 --> 00:01:16,260 of product ID. 13 00:01:16,590 --> 00:01:24,060 So we need to compile as what what what we did in the last video to check that the project accessed 14 00:01:24,330 --> 00:01:28,950 on the behalf of this ID as well as on behalf of a student ID. 15 00:01:29,370 --> 00:01:32,820 So the same steps we need to do for this delete product. 16 00:01:32,820 --> 00:01:36,450 EPA Kahir inside this block. 17 00:01:36,450 --> 00:01:50,730 Litsa, if fossicked vehicle making an entry and later that I.D. equals to I.D. and here student on 18 00:01:50,730 --> 00:01:58,240 the school I.D. equal to student I.D. and free to use excessed mattered. 19 00:01:59,220 --> 00:02:07,220 And finally, if Prusak does not exist of that a student or efore invalid product ID we have. 20 00:02:07,500 --> 00:02:13,200 So in that situation we have the response has not found otherwise. 21 00:02:13,770 --> 00:02:22,110 If product exist off this student and this ID, then if we need to find that present from database will 22 00:02:22,230 --> 00:02:39,720 and delete that suheil Prozac equals to Prozac, Litzow will make any I.D. equals to idy student ID. 23 00:02:41,980 --> 00:02:54,880 I.D. and we will use first method, so here from these lanes, what we are doing simply on the behalf 24 00:02:54,880 --> 00:03:03,580 of this project, it means Heidi and student I.D. We are finding Brossette subsect from people after 25 00:03:03,580 --> 00:03:04,760 finding this OPSEC. 26 00:03:05,110 --> 00:03:06,430 We need to delete that. 27 00:03:07,870 --> 00:03:18,310 So to delete, we will use delete nattered and finally sending a response, return response. 28 00:03:21,610 --> 00:03:30,970 Jason, making an every little status equals to fun and message. 29 00:03:36,740 --> 00:03:41,280 The sect has been deleted. 30 00:03:44,290 --> 00:03:51,520 Successfully now, if you see the change to call this matter the world we have, if we go inside this 31 00:03:51,520 --> 00:03:58,240 group, the UN, we have called with the delete request type and delete hyphen Brozak while calling 32 00:03:58,240 --> 00:04:03,720 this method read to pass the post that idea into the back to post. 33 00:04:03,760 --> 00:04:09,070 Man, if I copy this, you go here open to a new type. 34 00:04:10,160 --> 00:04:14,980 What I will do if we want to copy all the header barometer's what we have passed here. 35 00:04:15,220 --> 00:04:20,380 Simply go here and click on bulk edit as we can see that we are getting all the keys. 36 00:04:20,590 --> 00:04:21,430 Simply copy. 37 00:04:21,430 --> 00:04:30,040 He'll go to this episode out, click on headers, click here on the bulk added pasting it here again. 38 00:04:30,040 --> 00:04:32,650 Click on key hyphen value added. 39 00:04:33,250 --> 00:04:36,670 Now as you can see that had inputted successfully. 40 00:04:37,480 --> 00:04:43,510 So this time instead of single project we have delete hyphen Prozac. 41 00:04:44,710 --> 00:04:53,380 Now let's add that we want to delete this second no brozak from this table so that ID goes to two and 42 00:04:53,450 --> 00:04:55,600 student ID equals to two. 43 00:04:55,930 --> 00:05:00,930 But instead of passing a student ID directly, we will pass the sentence token. 44 00:05:01,690 --> 00:05:04,660 So back to postman go here. 45 00:05:04,870 --> 00:05:08,740 First of all, going to generate the sanctum token of this user. 46 00:05:09,040 --> 00:05:11,560 So I think that we have already generated. 47 00:05:12,040 --> 00:05:13,120 So here it is. 48 00:05:14,710 --> 00:05:17,680 I will copy this alteration key from this header. 49 00:05:18,100 --> 00:05:26,500 Go here for the delete hyphen project Busoni to changing from catagories type to delete request type 50 00:05:26,860 --> 00:05:28,510 and passing here the usual. 51 00:05:28,810 --> 00:05:32,530 And into this you'll be to pass the Prosek ID. 52 00:05:32,800 --> 00:05:42,340 So for now if we pass project ID close to five and as we know that this project does not accessed click 53 00:05:42,340 --> 00:05:46,710 on send button brozak not found but when we pass to. 54 00:05:47,050 --> 00:05:54,610 So after getting this to value and the student ID from this sanctum token, it will check here for the 55 00:05:54,610 --> 00:05:55,900 first piece of code. 56 00:05:56,530 --> 00:05:57,940 It returns true value. 57 00:05:58,240 --> 00:06:07,480 It will go inside this block, create a Prosek object and finally it will delete that pacta postman 58 00:06:07,660 --> 00:06:08,830 click on send button. 59 00:06:09,170 --> 00:06:11,290 Prozac's has been deleted successfully. 60 00:06:12,160 --> 00:06:19,960 We fight back to our browser database, go and reload and as we can see that the product ID was to do 61 00:06:20,230 --> 00:06:23,380 has been now successfully deleted from this table. 62 00:06:24,010 --> 00:06:28,120 Not again, the same request if we hit one more time. 63 00:06:28,360 --> 00:06:35,080 And this time, as we know that this Prosek deleted so does not exist inside that they will click on 64 00:06:35,080 --> 00:06:40,600 send button Prosek not found so successfully, guys, state by state. 65 00:06:40,600 --> 00:06:46,750 Now we have completed our second phase of epitaph print using sanctums authentication. 66 00:06:47,230 --> 00:06:55,300 I will draw the source code of this epiphysis to into the source of this feed your so far inside this 67 00:06:55,300 --> 00:07:01,960 course, we have seen the basic concepts of EPA development, normal EPA Delaplane that that was phase 68 00:07:01,960 --> 00:07:02,320 one. 69 00:07:02,710 --> 00:07:06,610 And here we had seen the concept using s.m authentication. 70 00:07:06,880 --> 00:07:08,410 That is phase two. 71 00:07:08,800 --> 00:07:12,850 From the next video, we will discuss all about EPA development. 72 00:07:12,850 --> 00:07:17,500 That is phase three using GwG token authentication. 73 00:07:18,610 --> 00:07:25,360 And one more thing that all the source code of this EPA phase two, I will drop into the resource section 74 00:07:25,480 --> 00:07:26,620 of this video. 75 00:07:26,900 --> 00:07:31,510 You can download the whole source code from the so far this session. 76 00:07:31,510 --> 00:07:33,910 Guys, thank you for watching and have a great day. 7829

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.