Requests with query parameters
- Last Updated: November 2, 2022
- 1 minute read
- DataDirect Connectors
- JDBC
- Autonomous REST Connector 6.0
- Documentation
Requests with query parameters are issued as GET requests, unless they are
specified in a POST request entry. Use the following format to specify endpoints for
requests with argument parameters. Multiple argument parameters within the same endpoint are
separated by an ampersand (&).
Note: For POST requests, the query parameter is specified
in the body of the entry. See "Post requests" for details.
"<host_name>/<endpoint_path>?<parameter>=<value>[&...]",
- host_name
- (optional) is the protocol and host name components of the URL endpoint. For example, http://example.com. You can omit this value by specifying the host name using the ServerName property.
- endpoint_path
- is the path component of the URL endpoint. For example,
times. The value must be valid URL-encoded syntax. For example, spaces in an endpoint are replaced with%20. See "URL-encoded values" for details. - parameter
- is the argument parameter component of the
parameter=valuepair used for filtering the request. For example,interval. - value
- is the value argument parameter used for filtering the request. For
example,
5min.
For example, the following demonstrates a GET request that will map to the
timeseries table.
#path:"https://www.example.com/times/query?interval=5min&symbol=USA&function=TIME_SERIES_WEEKLY",