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
Thanks for the plugin, it was a great for debugging.
Minor problem, query params are not escaped.
Example:
var queryArgs = new Dictionary<string, StringValues>
{
{ "memberId", "Morten Sjøgren" },
};
var uri = new Uri(QueryHelpers.AddQueryString("http://internal-backend.lan/rest/path", queryArgs));
Hi,
Thanks for the plugin, it was a great for debugging.
Minor problem, query params are not escaped.
Example:
I'd expect this to become:
But I get this:
Which of course doesn't work because of the space and the unescaped danish letter
ø
.