Table of Contents

CurlDotNet Documentation

Welcome to CurlDotNet - bringing the power and simplicity of curl to .NET!

Quick Start

// Simple GET request
var result = await Curl.ExecuteAsync("curl https://api.github.com");

// POST with data
var result = await Curl.ExecuteAsync("curl -X POST -d '{\"key\":\"value\"}' https://api.example.com");

// With headers
var result = await Curl.ExecuteAsync("curl -H 'Authorization: Bearer token' https://api.example.com");

Features

  • 🚀 100% curl compatibility - If it works in curl, it works in CurlDotNet
  • 📦 Zero dependencies - Pure .NET implementation
  • High performance - Optimized for speed and efficiency
  • 🛡️ Type-safe - Full IntelliSense support and compile-time checking
  • 🌍 Cross-platform - Works on Windows, Linux, and macOS

Documentation

Installation

dotnet add package CurlDotNet

Or via Package Manager:

Install-Package CurlDotNet

Support