def __init__(self, name, data):
        """

        :param str name: name or mac address
        :param data: data on device section
        """
        super(ExecuteUrlServiceBase, self).__init__(name, data)
        self.data['url'] = self.get_url()
        self.data['headers'] = self.get_headers()
        self.data['content-type'] = self.get_content_type()
        self.data['method'] = self.get_method()
        self.data['body'] = self.get_body()
def __init__ ( self , name , data ) : super ( ExecuteUrlServiceBase , self ) . __init__ ( name , data ) self . data [ 'url' ] = self . get_url ( ) self . data [ 'headers' ] = self . get_headers ( ) self . data [ 'content-type' ] = self . get_content_type ( ) self . data [ 'method' ] = self . get_method ( ) self . data [ 'body' ] = self . get_body ( )
:param str name: name or mac address
        :param data: data on device section