HTTP Fetch

Perform HTTP requests against allow-listed hosts.

v1.2.0developerby norien · updated 11h ago
$ norien tool install http-fetch@1.2.0
Category
developer
Runtime
Permissions
0
Environment
0
declared variables

Details

Slug
http-fetch
Version
1.2.0
Runtime
Entrypoint
Authentication
none
License
Published
11h ago

Requirements

Permissions

None requested.

Dependencies

None.

Tags

httpnetwork

Environment variables

No environment variables

This tool needs no configuration.

Input schema

{
  "type": "object",
  "required": [
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "format": "uri"
    },
    "body": {
      "type": "string"
    },
    "method": {
      "enum": [
        "GET",
        "POST",
        "PUT",
        "PATCH",
        "DELETE"
      ],
      "type": "string"
    },
    "headers": {
      "type": "object"
    }
  }
}

Output schema

{
  "type": "object",
  "properties": {
    "body": {
      "type": "string"
    },
    "status": {
      "type": "number"
    },
    "headers": {
      "type": "object"
    }
  }
}

Version history