I need help refactoring my http request - C#