api-testerPerform structured HTTP/HTTPS requests (GET, POST, PUT, DELETE) with custom headers and JSON body support. Use for API testing, health checks, or interacting...
Install via ClawdBot CLI:
clawdbot install wanng-ide/api-testerA lightweight, dependency-free HTTP client for OpenClaw.
const api = require('skills/api-tester');
const result = await api.request('GET', 'https://api.example.com/data');
console.log(result.status, result.data);
const api = require('skills/api-tester');
const payload = { key: 'value' };
const headers = { 'Authorization': 'Bearer <token>' };
const result = await api.request('POST', 'https://api.example.com/submit', headers, payload);
The request function returns a Promise resolving to:
{
status: 200, // HTTP status code
headers: { ... }, // Response headers
data: { ... }, // Parsed JSON body (if applicable) or raw string
raw: "...", // Raw response body string
error: "..." // Error message if request failed (network error, timeout)
}
http and https modules.Generated Mar 1, 2026
Continuously test endpoints of microservices in a distributed system to ensure uptime and performance. This skill can automate periodic GET requests to health check endpoints, logging status codes and response times for alerting on failures or latency spikes.
Simulate customer orders by sending POST requests with JSON payloads to an e-commerce platform's API. This allows testing of order creation, payment processing, and inventory updates without manual intervention, ensuring the API handles data correctly and returns expected responses.
Send sensor data from IoT devices to a cloud server via HTTP POST requests with custom headers for authentication. This skill can be used to test the reliability of data ingestion pipelines, validate JSON formatting, and handle network errors in remote deployments.
Perform structured requests to banking or payment APIs to verify compliance with security standards like OAuth2. This involves testing GET and DELETE methods for account data retrieval and transaction cancellation, ensuring headers and error responses meet regulatory requirements.
Automate updates to a CMS by using PUT requests to modify articles or media metadata via REST APIs. This skill helps test bulk editing workflows, validate JSON body structures for content changes, and monitor response times for performance optimization.
Offer a cloud-based service where users can schedule and run API tests using this skill, with dashboards for results and alerts. Revenue is generated through subscription tiers based on test frequency, number of endpoints, and advanced features like custom scripts.
Provide consulting services to businesses needing to integrate or test APIs, using this skill to build custom testing scripts and automation workflows. Revenue comes from project-based fees or hourly rates for development, testing, and troubleshooting support.
Sell this skill as part of a marketplace for developer tools, targeting individual developers or teams who need a lightweight HTTP client. Revenue is generated through one-time purchases or freemium models with premium features like extended timeout settings or batch requests.
💬 Integration Tip
Use environment variables for sensitive data like API keys in headers, and wrap requests in try-catch blocks to handle errors gracefully without crashing the application.
Use the mcporter CLI to list, configure, auth, and call MCP servers/tools directly (HTTP or stdio), including ad-hoc servers, config edits, and CLI/type generation.
Connect to 100+ APIs (Google Workspace, Microsoft 365, GitHub, Notion, Slack, Airtable, HubSpot, etc.) with managed OAuth. Use this skill when users want to...
Build, debug, and deploy websites using HTML, CSS, JavaScript, and modern frameworks following production best practices.
YouTube Data API integration with managed OAuth. Search videos, manage playlists, access channel data, and interact with comments. Use this skill when users want to interact with YouTube. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
Scaffold, test, document, and debug REST and GraphQL APIs. Use when the user needs to create API endpoints, write integration tests, generate OpenAPI specs, test with curl, mock APIs, or troubleshoot HTTP issues.
Search for jobs across LinkedIn, Indeed, Glassdoor, ZipRecruiter, Google Jobs, Bayt, Naukri, and BDJobs using the JobSpy MCP server.