Legacy Use icon

Legacy Use

Interact with the Legacy Use API

Actions4

Generic API → Request

AI-generated

Summary

Execute an HTTP request to the Legacy Use API using a specified method, URL or path, optional query parameters, headers, and an optional JSON body. Returns the API response either as parsed JSON or text, with an option to simplify the JSON response.

Inputs

  • Method (required) — HTTP method to use for the request (GET, POST, PUT, PATCH, DELETE).
  • URL or Path (required) — Absolute URL or path relative to the base Legacy Use API URL to request.
  • Response Format (required) — Format to interpret the response body, either JSON or text.
  • Simplify — If JSON response format is chosen, whether to return a simplified version of the response instead of the full raw data.
  • Query Parameters — Key-value pairs to add as query parameters to the request URL.
  • Headers — Key-value pairs to include as HTTP headers in the request.
  • Body (JSON) — JSON string to send as the HTTP request body, applicable for POST, PUT, PATCH, and DELETE methods.

Output shape

A single item containing an object with 'body' (parsed JSON or text response), 'headers' (response headers), and 'statusCode' (HTTP status code).

Response format respects the selected option ('json' or 'text'). For JSON responses, the 'simplify' option returns a truncated/simplified object preview. If the request body JSON is invalid, an error is returned. Requests use the configured Legacy Use API credentials.

Discussion