I want to store a key with special char (slash in my case) to Riak via REST.
HowTo http://wiki.basho.com/Riak-Search---Querying.html#Fields says:
If your field contains special characters, such as (‘+’,‘-’,‘/’,‘[’,‘]’,‘(’,‘)’,‘:’ or space), then either surround the phrase in single quotes, or escape each special character with a backslash.
But the fields are concerned, not the keys. I tried to backslash it, but it didn't work unfortunately.
I couldn't find any information regardind this issue. Does anybody know how to mask special chars in keys?
Example (not working):
PUT https://riak:8069/buckets/key/keys/11111\/2
where key is 11111/2