Modzy provides an API that can integrate models in your applications. In order to use it you build requests containing a URL to a specific endpoint and if needed, additional parameters.
URLs include a path component and optionally a query component that is a combination of letters, digits, and separators (hyphens or underscores).
However, there are special characters that either have a special meaning or are different than the character set described above. These characters need to be encoded in order to avoid confusion.
To encode characters replace character by a "%" followed by two-hexadecimal unicode digits (normally UTF-8).
At this time, no endpoint uses any special character in their path component. The only exception are email addresses that can include special characters as of RFC 6531 which depend on email servers.
There are several endpoints that support filters with fields that may contain special characters (ex. user or file names) that require encoding.
For example, consider a query in order to get the models deployed by a user called "John Doe"
GET /api/models?createdByFullName=John Doe
is encoded to:
But, if the name is "John González" then it is encoded as:
The table below shows some common characters as well as their encoding.