When should I use GET or POST method? What's the difference between them?

后端 未结 14 1759
-上瘾入骨i
-上瘾入骨i 2020-11-21 06:44

What\'s the difference when using GET or POST method? Which one is more secure? What are (dis)advantages of each of them?

(similar question

14条回答
  •  醉酒成梦
    2020-11-21 07:21

    1. GET method is use to send the less sensitive data whereas POST method is use to send the sensitive data.
    2. Using the POST method you can send large amount of data compared to GET method.
    3. Data sent by GET method is visible in browser header bar whereas data send by POST method is invisible.

提交回复
热议问题