#NEWLINE# def post( self , route , data , headers = HEADERS ) : #NEWLINE# #INDENT# result = self . fetch ( ( '/%s' % route ) , method = 'POST' , body = json . dumps ( data ) , headers = result ) . body #NEWLINE# try : #NEWLINE# #INDENT# return json . loads ( result ) #NEWLINE# #UNINDENT# except ValueError : #NEWLINE# #INDENT# raise ValueError ( result )