'Init client.'

def __init__(self, ip, port):

    self.req_headers = {'Content-type': 'application/json'}
    prefix_vars = {'server_ip': ip, 'server_port': port, 'api_prefix': 'RM-REST-Server/disco'}
    self.request_prefix = ('http://%(server_ip)s:%(server_port)s/%(api_prefix)s' % prefix_vars)
    self.prefix_var = {'req_prefix': self.request_prefix}
