Skip to main content

Net

Make HTTP requests, download files, and create HTTP endpoints for API integration and web communication.

Overview

The Net package provides HTTP communication capabilities for API integration and web operations. Use it when you need to call REST APIs, download files from URLs, or create webhook endpoints to receive HTTP requests.

Key Features

  • HTTP Requests - Make GET, POST, PUT, DELETE requests
  • File Download - Download files from URLs
  • HTTP Server - Create endpoints to receive HTTP requests
  • HTML Templates - Generate HTML responses

Available Nodes

  • HTTP Request - Make HTTP requests to REST APIs or web services
  • Download File - Download a file from a URL to local storage
  • HTTP In - Create an HTTP endpoint to receive incoming requests
  • HTTP Out - Send HTTP response for incoming requests
  • HTML Template - Generate HTML content from template

When to Use This Package

  • API Integration: Call external REST APIs
  • Webhooks: Receive callbacks from external services
  • File Downloads: Download files from the web
  • Data Fetching: Get data from web services
  • Custom Endpoints: Create endpoints for triggers

HTTP Request Features

  • Support for all HTTP methods (GET, POST, PUT, DELETE, PATCH)
  • Custom headers and authentication
  • JSON, form data, and raw body support
  • Response parsing (JSON, text, binary)

Typical Workflow

API Call

  1. HTTP Request with method, URL, headers, body
  2. Parse response data
  3. Process in automation

Webhook

  1. HTTP In to create endpoint
  2. Process incoming request data
  3. HTTP Out to send response

Use Cases

  • Integrate with any REST API
  • Download reports or files from web
  • Receive webhooks from services like GitHub, Stripe
  • Submit form data to web services
  • Fetch real-time data for automations