URL-Encoding Characters in the Request URL
The URL for an Administrator API resource endpoint might include a variable portion to identify a specific resource. The variable portion of the URL, such as
{resourceId} must not contain characters that are URI general delimiters. The general delimiters are defined in
RFC 3986.":" / "/" / "?" / "#" / "[" / "]" / "@"
To include any of the URI general delimiters in the URL, replaces the character with the corresponding URL-encoded (percent-encoded) value. If the reserved character is not URL-encoded, the Administrator API treats it as a delimiter.
The following table identifies the URI general delimiters and they URL-encoded value.
Character | URL-Encoded Value |
: | %3A |
/ | %2F |
? | %3F |
# | %23 |
[ | %5B |
] | %5D |
@ | %40 |
% | %7E |
Note:
The URL-encoding requirement described above applies to the request URL only. Do not URL-encode data in the body of a request.