कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

curl-http

arnarsson द्वारा

CLI Utilities
4.1kclawskills.sh द्वारा बताए गए डाउनलोड
5स्टार
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Essential curl commands for HTTP requests, API testing, and file.

विवरण

यह स्किल क्या करती है

curl is a command-line tool for making HTTP requests and transferring files. It supports all standard HTTP methods, authentication schemes, cookies, proxies, and SSL/TLS. Useful for API testing, scripting, and file operations.

curl is pre-installed on most Unix-like systems and needs no GUI, so it is the fastest way to test an HTTP endpoint without any additional tooling.

इसे कब इस्तेमाल करें

  • Testing a REST API endpoint before writing client code
  • Downloading files or archives from a remote URL
  • Debugging HTTP response headers and status codes
  • Sending authenticated requests with tokens or API keys in shell scripts
  • Uploading files to an FTP server or HTTP endpoint

उदाहरण वर्कफ़्लो

इनपुट

User asks: POST login credentials to an API and extract the returned auth token

एजेंट
  1. 1

    Send POST request with JSON body using -X POST and -d flags

  2. 2

    Set Content-Type header to application/json with -H

  3. 3

    Add -s flag to suppress progress output

  4. 4

    Pipe the response to jq with -r '.token' to extract the token value

आउटपुट

Auth token string printed to stdout, ready for use in subsequent requests

इंस्टॉलेशन

clawhub install arnarsson/curl-http

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक