replaced the http-proxy with request and some manual code