Laravel

Make HTTP requests to a Laravel API

Laravel

AI-generated

Summary

Execute an HTTP request to a Laravel API endpoint. Based on the selected HTTP method and configured parameters (query, body format, headers, pagination), the node sends the request and returns parsed JSON data (or full response if enabled). Pagination is supported for GET requests.

Inputs

  • main (required) — The node accepts one or more items on the main input connection; each item is processed independently with the same parameter values.

Output shape

json

Returns an array of items. Each item contains a json field. If fullResponse is true, the json field includes statusCode and body. If pagination is enabled and the method is GET, the item contains data and total counts across all pages. Otherwise, the response body is parsed as JSON and individual array elements or the entire body are returned as separate items.

Examples

Example 1: Fetch all users from a Laravel API with pagination

HTTP Method: GET; Endpoint: /api/users; Pagination: true; all other options left default.

Links

Discussion