Maximum length of HTTP GET request

前端 未结 7 1992
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-21 05:24

What\'s the maximum length of an HTTP GET request?

Is there a response error defined that the server can/should return if it receives a GET request that exceeds this

7条回答
  •  野的像风
    2020-11-21 05:38

    Technically, I have seen HTTP GET will have issues if the URL length goes beyond 2000 characters. In that case, it's better to use HTTP POST or split the URL.

提交回复
热议问题