added endpoint and provider prarameters to proxy req