HttpClientToCurlGenerator
HttpClientToCurl is a NuGet package for .NET that generates cURL scripts from HttpClient requests in C# (CSharp). It supports GET, POST, PUT, and DELETE methods and handles content types like application/json, text/xml, and application/x-www-form-urlencoded. Convert your HttpClient requests easily into executable cURL commands.
File Explorer
Download Latest Version (.zip)- dotnet.yml
- release.yml
- ApiCaller.cs
- HttpClientToCurl.Sample.InConsole.csproj
- Program.cs
- ApiCaller.cs
- HttpClientToCurl.Sample.InFile.csproj
- Program.cs
- MyController.cs
- launchSettings.json
- appsettings.Development.json
- appsettings.json
- HttpClientToCurl.Sample.InGlobal.csproj
- Program.cs
- MyController.cs
- launchSettings.json
- appsettings.Development.json
- appsettings.json
- HttpClientToCurl.Sample.InSpecific.csproj
- Program.cs
- ApiCaller.cs
- HttpClientToCurl.Sample.InString.csproj
- Program.cs
- HttpClientToCurl.png
- BaseBuilder.cs
- Constants.cs
- Extensions.cs
- HttpDeleteBuilder.cs
- HttpGetBuilder.cs
- HttpPatchBuilder.cs
- HttpPostBuilder.cs
- HttpPutBuilder.cs
- IBuilder.cs
- Generator.cs
- BaseConfig.cs
- CompositConfig.cs
- ConsoleConfig.cs
- FileConfig.cs
- LoggerConfig.cs
- StringConfig.cs
- HttpClientExtensions.cs
- HttpRequestMessageExtensions.cs
- ServiceCollectionExtensions.cs
- CurlGeneratorHttpMessageHandler.cs
- HttpMessageHandlerAppender.cs
- Helpers.cs
- HttpClientToCurl.csproj
- SuccessScenariosTests.cs
- FailedCurlGeneratorTests.cs
- SuccessCurlGeneratorTests.cs
- SuccessCurlGeneratorTests.cs
- HttpClientToCurlTest.csproj
- CompositConfigBuilder.cs
- HttpMessageHandlerBuilder.cs
- FakeHttpMessageHandler.cs
- FakeLogger.cs
- FakeOptionsMonitor.cs
- FakeServiceProvider.cs
- CurlGeneratorHttpMessageHandlerTests.cs
- HttpMessageHandlerAppenderTests.cs
- ServiceCollectionExtensionsTests.cs
- HttpMessageHandlerTest.csproj
- SuccessScenariosTests.cs
- FailedCurlGeneratorTests.cs
- SuccessCurlGeneratorTests.cs
- SuccessCurlGeneratorTests.cs
- HttpRequestMessageToCurlTest.csproj
- .editorconfig
- .gitignore
- Directory.Build.props
- HttpClientToCurlGenerator.lutconfig
- HttpClientToCurlGenerator.sln
- Issue_Template.md
- LICENSE.md
- pre-commit
- pre-push
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/amingolmahalle/HttpClientToCurlGenerator
Downloads the entire project code from GitHub to your computer.
cd HttpClientToCurlGenerator
Moves into the project folder you just downloaded.
2. .NET
Medium RecommendedPrerequisites
dotnet add package HttpClientToCurl
Type this command into your terminal and run it.
After dotnet run, check the message or address shown in the terminal.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
