def url_encode(self, value):
return quote(value)<EOL>
url encodes the value passed in

Parameters
----------
value: string
    the value that needs to be encoded in the json
Returns
-------
string: the url encoded value