def activate(self, bounce_id):
self._check_values()<EOL>req_url = '<STR_LIT>' + str(bounce_id) + '<STR_LIT>'<EOL>h1 = HTTPConnection('<STR_LIT>')<EOL>dta = urlencode({"<STR_LIT:data>": "<STR_LIT:blank>"}).encode('<STR_LIT:utf8>')<EOL>req = h1.request(<EOL>'<STR_LIT>',<EOL>req_url,<EOL>dta,<EOL>{<EOL>'<STR_LIT>': '<STR_LIT:application/json>',<EOL>'<STR_LIT:Content-Type>': '<STR_LIT:application/json>',<EOL>'<STR_LIT>': self.__api_key,<EOL>'<STR_LIT>': self.__user_agent<EOL>}<EOL>)<EOL>r = h1.getresponse()<EOL>return json.loads(r.read())<EOL>
Activates a deactivated bounce.