test an endpoint with proxy