HTTP request

Updated at:

Definition

The HTTP request node enables you to interact with external services through the HTTP protocol. It supports many common HTTP request methods and provides flexible configuration for request details. Use this node for scenarios such as retrieving external data, triggering webhooks, generating images, or downloading files.

Prerequisites

Create an AI Studio service

Supported request methods

  • GET: Requests a specific resource from a server.

  • POST: Submits data to a server, such as submitting a form or uploading a file.

  • HEAD: Similar to a GET request, but the server returns only the response header and does not return the resource entity.

  • PATCH: Applies partial modifications to an existing resource.

  • PUT: Uploads a resource to a server. This method is often used to update or create resources.

  • DELETE: Requests a server to delete a specified resource.

Configuration items

You can configure the following parameters for the HTTP request:

  • URL: The destination web address.

  • Headers: Custom HTTP request header information.

  • Query Parameters: The query string parameters in the URL.

  • Body: The data content sent in request methods such as POST or PUT.