Add a proxy/local api to handle requests.