Also, checkout mapping a custom, configured HTTP client in your DI container and then using constructor injection to ask for an instance.
Notes
Also, checkout mapping a custom, configured HTTP client in your DI container and then using constructor injection to ask for an instance.