rest-http-caller

Execute HTTP requests from C# scripts against REST APIs.

1|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/mattgotteiner/search-agent-skills --skill rest-http-caller
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rest-http-caller
Source: https://github.com/mattgotteiner/search-agent-skills/tree/main/.github/skills/rest-http-caller
Command: npx skills add https://github.com/mattgotteiner/search-agent-skills --skill rest-http-caller

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires System.CommandLine.

What problem does it solve?

This Skill enables you to invoke REST APIs directly from a small C# script, reducing boilerplate and speeding up testing and integration workflows.

Core Features & Use Cases

  • Lightweight REST client: Make GET/POST/PUT/DELETE requests with customizable headers and bodies.
  • Ad-hoc testing & automation: Quickly validate endpoints during development or automate simple API interactions in scripts.
  • Use Case: Imagine you need to verify a new endpoint by issuing a GET request with an Authorization header and a JSON body in subsequent calls, then process the response in your app.

Quick Start

dotnet run HttpCaller.cs -- GET https://api.example.com/ping

Frequently Asked Questions about rest-http-caller

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make REST API calls from a C# script in the terminal?

You can make REST API calls from a C# script by running this tool from your terminal. It executes HTTP requests like GET and POST with custom headers and bodies, then displays or saves the API responses.

Do I need .NET installed to run HTTP requests with a C# script?

Yes, you need .NET 10 or later installed to run HTTP requests with this C# script. The environment relies on the .NET runtime and the System.CommandLine dependency to execute REST API calls from the terminal.

What's the best way to test REST API endpoints quickly during development?

A lightweight C# script is the best way to quickly test REST API endpoints during development. It reduces boilerplate by letting you issue HTTP requests with custom headers and bodies directly from the terminal, validating endpoints rapidly.

Can I automate HTTP requests and save API responses for testing?

Yes, you can automate HTTP requests and save API responses for testing. The script executes REST calls with custom headers and bodies, then either displays the response directly or saves it for subsequent integration workflows.

Does this C# HTTP caller support PATCH and DELETE methods for REST APIs?

Yes, this C# HTTP caller supports PATCH and DELETE methods for REST APIs. It handles GET, POST, PUT, PATCH, DELETE, HEAD, and OPTIONS requests, enabling comprehensive endpoint interaction for testing and automation workflows.