Fetch data from an API
How to Use
Brick to perform GET requests.
Add this brick and put the URL you want to perform a GET request on in the ‘url’ field.
You can either have parameters in the url or generate them automatically using the ‘params’ field.
Similarly the headers field is used for the headers you want attached. If there is an applicable service on Pixiebrix for the resource you’re making a request to, you can enter that in the service field to have the request also use headers etc from that service.
Note that compared to the HTTP request brick, there isn’t a data field. This should not make a difference if the resource is following HTTP recommendations, but in the event that they aren’t the HTTP request brick can be set to ‘get’.
- Perform GET request to URLs with optional params
||The API URL|
||The URL parameters|
||Additional request headers|
||Optional. The integration to authenticate the request, if authentication is required|
|No outputs for this brick defined.|