Variables supplied in the URLs to web services

The HTTP web server can manage variables supplied in the URL by web browsers. These variables can be expressed in any of the following conventions:

  • Appending them to the end of the URL while dividing each parameter value with a slash ( / ), such as in the following example:

    http://localhost/database-name/param1/param2/param3
  • Defining them explicitly in a URL parameter list, such as in the following example:

    http://localhost/database-name/?arg1=param1&arg2=param2&arg3=param3
  • A combination of appending them to the URL and defining them in a parameter list, such as in the following example:

    http://localhost/database-name/param4/param5?arg1=param1&arg2=param2&arg3=param3

The web server interpretation of the URL depends on how the web service URL clause is specified. For more information about how to specify the URL clause and how the server interprets URL parameters, see Browsing an HTTP web server.

 See also