Making HTTP Requests
Last updated
Was this helpful?
Last updated
Was this helpful?
The function can be used to fetch data from a url. Make sure to pick either text, buffer or json for the response type
input. The headers
, method
, and body
inputs are optional. Use a data object if you want to pass any headers to the request. The method
input will default to "GET".
Images can be retrieved by first fetching and selecting buffer for the response type
. The buffer can then be converted to an image using .