×

Get Contents of URL

Notes

Downloads the contents at the given URL. When making a form or JSON request, use the request JSON parameter. When using a file request type, use the request variable parameter.

Syntax

downloadURL(url: <#String (Allows Variables)#>, method: <#Type (WFHTTPMethod)#>, headers: <#Dictionary#>, requestType: <#Type (WFHTTPBodyType)#>, requestJSON: <#Dictionary#>, requestVar: <#Variable#>)

Example

downloadURL(url: "https://jellycuts.com", method: POST, headers: {}, requestType: Json, requestJSON: {"name": "Zach"}, requestVar: )