APIs are designed based on the RESTful architecture.
Representational State Transfer (REST) allocates Uniform Resource Identifiers (URIs) to resources so that the resources can be located. Applications on clients use Unified Resource Locators (URLs) to obtain the resources.
- A URL can contain file path parameters. For example, in https://localhost:8086/rest/uam/v1/roles/{parm1}/{parm2}, parm1 and parm2 are path parameters. You can also add query conditions using question marks (?) and ampersands (&) in the URL. For example, in http://localhost:8086/rest/uam/v1/roles/{parm1}/{parm2}?parm3=value3&parm4=value4, parm3 and parm4 are query parameters, and value3 and value4 are their values, respectively.
- A URL cannot contain special characters. Encode the URL if special characters are required.