REST Protocol

From Melissa Data Wiki
Jump to navigation Jump to search

Using REST may require that you encode certain characters using the proper URL entities before adding them to a URL. Some characters like slashes and ampersands, if they exist as literals in the original data, must be replaced by special codes so they do not conflict with parts of the REST query.

The following table shows the replacement codes for the most common characters.

Character URL Escape Code
Space %20 or +
* %2A
# %23
& %26
% %25
$ %28
+ %2B
, (comma) %2C
/ %2F
: %3A
; %3B
< %3C
= %3D
> %3E
? %3F
@ %40
[ %5B
] %5D
~ %7E