'Make a POST request to the GO proxy to register a route'

def handle_requests(self, authentication, proxy_requests, route_name, container_ids, container_interface, sleep=1):

    values = {'FrontendPath': route_name, 'BackendAddr': ('%s:%s' % (proxy_requests.host, proxy_requests.port)), 'AuthorizedCookie': authentication.cookie_value, 'ContainerIds': container_ids}
    req = urllib2.Request(self.api_url)
    req.add_header('Content-Type', 'application/json')
    try:
        urllib2.urlopen(req, json.dumps(values))
    except urllib2.URLError as err:
        log.debug(err)
        if (sleep > 5):
            excp = ('Could    not    contact    proxy    after    %s    seconds' % sum(range((sleep + 1))))
            raise Exception(excp)
        time.sleep(sleep)
        self.handle_requests(authentication, proxy_requests, route_name, container_ids, sleep=(sleep + 1))
    pass
