amingolmahalle / HttpClientToCurlGenerator

The HttpClientToCurl is a NuGet package for generating curl script of HttpClient in .NET ( C# | CSharp | Dotnet ) supported features: Post, Get, Put, and Delete. content types: application/json, text/xml, application/x-www-form-urlencoded
https://www.nuget.org/packages/HttpClientToCurl
MIT License
61 stars 11 forks source link

Why BaseUrl of HttpClient is mandatory? #9

Closed naeemaei closed 1 year ago

naeemaei commented 1 year ago

In some scenarios, I want to set an absolute path in HttpRequestMessage but had forced me to use HttpClient BaseUrl. It would be great if there was a way I could just set the absolute path in the HttpRequestMessage.

amingolmahalle commented 1 year ago

Yes, you're right. I will fix this problem soon.