def send_payload(self, params):
data = json.dumps({<EOL>'<STR_LIT>': self.version,<EOL>'<STR_LIT>': self.service_name,<EOL>'<STR_LIT>': params,<EOL>'<STR_LIT:id>': text_type(uuid.uuid4())<EOL>})<EOL>data_binary = data.encode('<STR_LIT:utf-8>')<EOL>url_request = Request(self.service_url, data_binary, headers=self.headers)<EOL>return urlopen(url_request).read()<EOL>
Performs the actual sending action and returns the result