SERVLET

SERVLET

Hi Everyone!

Hope all are good.............

Here i am sharing the article about the topic--"GET METHOD VS POST METHOD".

GET METHOD:---

1.In the Get() method data is not secured as it is exposed in the url bar to the user.

ex-https://localhost:2024/demo/first?name="abc" & email="abc@gamil="[email protected]"

2.Get method can be book marked.

3.Normally we refer the Get method in the case of url rewritting or Where we want to send data in the from of name and value pair.

POST METHOD:---

=============

1.Here huge amount of data or information can be transperfed through the post method. Because post method send data through the body.

2.Post method cann't be book marked.

3.Generally we use the post method in file uploading etc.

or

Where we want to send secured data etc.

Krishna Kant Tiwari

Java Developer at IdeaFarm Technology Pvt. Ltd.

1 年

Keep It Up

回复

要查看或添加评论,请登录

社区洞察

其他会员也浏览了