General Limitations
Trailing Slash in Request URL
- A REST BT service does not differentiate between a URL ending with a trailing slash (/) and one without a trailing slash.
- A REST BT reference differentiates between a URL ending with a trailing slash and a URL not ending with a trailing slash. The reference treats them as different URLs and depends on how you have configured the resource path in the resource configuration file. For example:
- If the resource path is
books/
(with a trailing /), the resulting URL ishttp://host:port/Context-Root/books/
. - If the resource path is
books
, the resulting URL ishttp://host:port/Context-Root/books
. - If the resource path is
books/
and a minimum of one query parameter (for example,ID
), the resulting URL ishttp://host:port/Context-Root/books?ID=value
.
- If the resource path is
Numbers and Special Characters
- Numbers and special characters (period, comma, hyphen, or hash) are not supported in a standard JSON payload key.