WEBVTT

00:01.400 --> 00:06.000
Okay, friends, let's learn something about two methods.

00:06.320 --> 00:08.360
One of them is called git.

00:08.400 --> 00:10.160
Another is called post.

00:10.320 --> 00:12.560
Let's see how they are working.

00:12.560 --> 00:14.720
And what is the difference between these two methods?

00:14.760 --> 00:23.280
Okay, so we have a Get method whenever we are sending something as some data using the gate okay.

00:24.080 --> 00:29.800
And it is going to be send using this URL okay.

00:29.840 --> 00:35.160
For example in here you see a page is equal to this one.

00:35.400 --> 00:39.560
That means these are send using get method.

00:41.120 --> 00:47.760
Also in here, as you see in the previous lecture we created this program.

00:47.800 --> 00:51.400
Here you see we use post method okay.

00:51.400 --> 00:53.520
And we are using a dictionary.

00:54.760 --> 01:00.480
And the username value is going to be equal to admin password value is password.

01:00.480 --> 01:02.800
And also login value is submit.

01:03.600 --> 01:12.330
So in here it is clear that we are using post method to send this data using post method.

01:12.930 --> 01:21.730
So it is a more secure than the Get method, because whenever you send this as someone else or using

01:21.730 --> 01:28.730
this, for example this website, they are not able to see that details or that information that you

01:28.770 --> 01:29.690
are sending.

01:31.170 --> 01:38.330
But when you are using a Get method, you, the user will be able to see that here.

01:38.570 --> 01:42.970
For example, if you are using the login page in here.

01:43.410 --> 01:46.330
So you need to use something like this okay.

01:46.370 --> 01:58.890
Username is equal to for example admin and password is equal to password.

01:58.930 --> 02:02.850
And we have another thing which was login okay.

02:02.890 --> 02:05.450
It was equal to submit.

02:06.810 --> 02:17.890
If you use get method instead of post you will see all the details in the URL when you submit the Therefore.

02:19.810 --> 02:30.570
And also uh, but still the get method and also the post method is both before you encrypt the data.

02:31.410 --> 02:44.170
And they are not very, very, very secure because if someone captured the data before you encrypt them.

02:44.170 --> 02:49.770
So they will be able to see all the details, all the information as a text.

02:49.770 --> 02:58.090
So in here, for example, you're sending the data from this webpage to the real server.

02:58.090 --> 03:02.050
So you need to after you get this details like username and password.

03:02.090 --> 03:09.930
After you provide this, you need to use an encryption algorithm to encrypt them and send them to server

03:09.970 --> 03:17.050
for example Sha1, MD5 something anything to encrypt them and then send them to server.

03:17.570 --> 03:17.850
So.

03:20.250 --> 03:23.850
All this thing depends on the developer.

03:23.890 --> 03:29.980
If developer Encrypt every data that they are sending.

03:30.460 --> 03:32.980
So the website is more secure.

03:32.980 --> 03:39.620
But if they forgot to encrypt the data that they are trying to send, forms that they are trying to

03:39.660 --> 03:40.020
send.

03:40.580 --> 03:48.580
So that has a vulnerability and we can do a lot of attack on them and get the information, and we can

03:48.580 --> 03:49.420
do a lot of things.

03:49.460 --> 03:50.100
Okay.

03:50.140 --> 03:53.140
So everything depends on the developer.

03:53.180 --> 04:06.180
So here now you see that when we use post you will be able to send the data through form.

04:06.540 --> 04:11.140
And user will not be able to see them in URL.

04:11.180 --> 04:20.060
But whenever someone using the Get method in some places and the data will be sent using this URL through

04:20.060 --> 04:27.220
this URL and the user and also the everyone who are using the website, they will be able to see that

04:27.260 --> 04:27.940
in here.

04:28.180 --> 04:28.500
So.

04:30.580 --> 04:35.900
Uh, it was about git and also post method.
