#NEWLINE# def create( self , api_obj , data , url_params = '' ) : #NEWLINE# #INDENT# if ( not self ) : #NEWLINE# #INDENT# raise TypeError ( 'Missing object data.' ) #NEWLINE# #UNINDENT# if url_params : #NEWLINE# #INDENT# url_params = ( '?' + url_params . lstrip ( '?' ) ) #NEWLINE# #UNINDENT# url = ( ( ( self . server + '/' ) + api_obj ) + url_params ) #NEWLINE# r = requests . post ( url , data = json . dumps ( data ) , headers = self . tokenHeaderJson , verify = self . sslVerify ) #NEWLINE# return self . __check_result ( r )