Handling multiple parameters in a URI (RESTfully) in Java

后端 未结 2 1066
日久生厌
日久生厌 2020-12-19 16:58

I\'ve been working on a small scale web service in Java/Jersey which reads lists of user information from clients contained in XML files. I currently have this functioning i

2条回答
  •  不知归路
    2020-12-19 17:30

    Query strings have the following syntax and you can have multiple parameters with the same name:

    http://server/path/program?
    

    where query_string has the following syntax:

    field1=value1&field1=value2&field1=value3…
    

    For more details check out this entry in Wikipedia: http://en.wikipedia.org/wiki/Query_string

提交回复
热议问题