Okay, friends, let's learn something about two methods.
One of them is called git.
Another is called post.
Let's see how they are working.
And what is the difference between these two methods?
Okay, so we have a Get method whenever we are sending something as some data using the gate okay.
And it is going to be send using this URL okay.
For example in here you see a page is equal to this one.
That means these are send using get method.
Also in here, as you see in the previous lecture we created this program.
Here you see we use post method okay.
And we are using a dictionary.
And the username value is going to be equal to admin password value is password.
And also login value is submit.
So in here it is clear that we are using post method to send this data using post method.
So it is a more secure than the Get method, because whenever you send this as someone else or using
this, for example this website, they are not able to see that details or that information that you
are sending.
But when you are using a Get method, you, the user will be able to see that here.
For example, if you are using the login page in here.
So you need to use something like this okay.
Username is equal to for example admin and password is equal to password.
And we have another thing which was login okay.
It was equal to submit.
If you use get method instead of post you will see all the details in the URL when you submit the Therefore.
And also uh, but still the get method and also the post method is both before you encrypt the data.
And they are not very, very, very secure because if someone captured the data before you encrypt them.
So they will be able to see all the details, all the information as a text.
So in here, for example, you're sending the data from this webpage to the real server.
So you need to after you get this details like username and password.
After you provide this, you need to use an encryption algorithm to encrypt them and send them to server
for example Sha1, MD5 something anything to encrypt them and then send them to server.
So.
All this thing depends on the developer.
If developer Encrypt every data that they are sending.
So the website is more secure.
But if they forgot to encrypt the data that they are trying to send, forms that they are trying to
send.
So that has a vulnerability and we can do a lot of attack on them and get the information, and we can
do a lot of things.
Okay.
So everything depends on the developer.
So here now you see that when we use post you will be able to send the data through form.
And user will not be able to see them in URL.
But whenever someone using the Get method in some places and the data will be sent using this URL through
this URL and the user and also the everyone who are using the website, they will be able to see that
in here.
So.
Uh, it was about git and also post method.