def create_connection(self, userid):
        ''' create connection '''
        req_hook = 'pod/v1/connection/create'
        req_args = '{ "userId": %s }' % userid
        status_code, response = self.__rest__.POST_query(req_hook, req_args)
        self.logger.debug('%s: %s' % (status_code, response))
        return status_code, response
def create_connection ( self , userid ) : req_hook = 'pod/v1/connection/create' req_args = '{ "userId": %s }' % userid status_code , response = self . __rest__ . POST_query ( req_hook , req_args ) self . logger . debug ( '%s: %s' % ( status_code , response ) ) return status_code , response
create connection