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
Addresses issue #17. Instead of using header.Value?.FirstOrDefault(), this
commit updates the code to use string.Join("; ", header.Value) in order to
properly include all values when appending headers in the curl command.
Replaced instances of header.Value?.FirstOrDefault() with string.Join("; ", header.Value).
Ensured that multiple header values are handled correctly.
Addresses issue #17. Instead of using header.Value?.FirstOrDefault(), this commit updates the code to use string.Join("; ", header.Value) in order to properly include all values when appending headers in the curl command.
Closes #17