Difference between revisions of "REST Protocol"
Jump to navigation
Jump to search
(Created page with "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...") |
(No difference)
|
Latest revision as of 23:55, 18 February 2015
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 |