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 is http://host:port/Context-Root/books/.
- If the resource path is books, the resulting URL is http://host:port/Context-Root/books.
- If the resource path is books/ and a minimum of one query parameter (for example, ID), the resulting URL is http://host:port/Context-Root/books?ID=value.
Copyright © Cloud Software Group, Inc. All rights reserved.