What's the term for the part of the URL after the question mark?

后端 未结 5 1750
我寻月下人不归
我寻月下人不归 2020-12-07 20:48

http://www.example.com?foo

What\'s the term for the foo part of the URL?

5条回答
  •  攒了一身酷
    2020-12-07 21:02

    Its the query, or sometimes the query string.

    To pinch a useful diagram from the URI RFC:

         foo://example.com:8042/over/there?name=ferret#nose
         \_/   \______________/\_________/ \_________/ \__/
          |           |            |            |        |
       scheme     authority       path        query   fragment
    

提交回复
热议问题