تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

api-tester

بواسطة wanng-ide

Browser & Automation
2.1kالتنزيلات وفق ما يذكره clawskills.sh
1النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Perform structured HTTP/HTTPS requests (GET, POST, PUT, DELETE) with custom headers and JSON body support.

الوصف

ما الذي تفعله هذه المهارة

A dependency-free HTTP client that performs GET, POST, PUT, and DELETE requests with custom headers and JSON body support. It uses Node.js built-in modules, so no packages need to be installed. Returns structured response objects including status code, headers, parsed body, and errors.

Uses only Node.js built-in http and https modules, so there are no packages to install and no dependency conflicts to manage.

متى تستخدمها

  • Testing a new REST API endpoint during development
  • Running automated health checks against remote services
  • Posting JSON payloads to a webhook from an agent workflow
  • Verifying that an authentication token works against a live API
  • Fetching data from a third-party API without leaving the agent environment

مثال على سير العمل

الإدخال

User asks: Fetch the latest todos from JSONPlaceholder and show me the first three

الوكيل
  1. 1

    Require the api-tester skill

  2. 2

    Call api.request('GET', 'https://jsonplaceholder.typicode.com/todos') with no extra headers or body

  3. 3

    Receive structured response with status 200 and a parsed JSON array

  4. 4

    Extract and return the first three todo items with their titles and completion status

الإخراج

Three todo objects with id, title, and completed field from the JSONPlaceholder API

التثبيت

clawhub install wanng-ide/api-tester

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط