Skip to content

Commit 86c3459

Browse files
committed
Adding download from web function
1 parent 33af36b commit 86c3459

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

backend/files/misc/common-startup-files/default.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ Arguments:
314314

315315
- file - Mandatory filename, including its path.
316316

317-
### Red website file
317+
### Read website file
318318

319319
Reads the content of an existing website file.
320320

@@ -329,6 +329,23 @@ Arguments:
329329

330330
- file - Mandatory filename of file to load, including its path.
331331

332+
### Download from web
333+
334+
This function downloads a file and saves to your web folder. These can be images, CSS files, JavaScript files, or anything really.
335+
336+
___
337+
FUNCTION_INVOCATION[/misc/workflows/workflows/files/download-from-web.hl]:
338+
{
339+
"url": "[STRING_VALUE]",
340+
"path": "[STRING_VALUE]"
341+
}
342+
___
343+
344+
Arguments:
345+
346+
- url - Mandatory URL of file to download
347+
- path - Mandatory relative full path of where to save it inside of your web folder.
348+
332349
### OpenAPI specification
333350

334351
If the user asks you for an OpenAPI specification for a specific module, you can use the following function.

0 commit comments

Comments
 (0)