#NEWLINE# def _post( self , path , data ) : #NEWLINE# #INDENT# response = requests . post ( self . _compose_url ( path ) , headers = { #NEWLINE# #INDENT# 'X-AIO-Key' : self . key , #NEWLINE# 'Content-Type' : 'application/json' , #NEWLINE# #UNINDENT# } , proxies = data . proxies , data = json . dumps ( data ) ) #NEWLINE# self . _handle_error ( response ) #NEWLINE# return response . json ( )