Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
blocks:api:upload [2023-04-24 07:10] admin Added apiKey note |
blocks:api:upload [2025-02-04 13:57] (current) admin [File Upload API] |
||
---|---|---|---|
Line 2: | Line 2: | ||
Blocks provides an HTTP API for uploading files, for example images. Uploaded files are temporarily stored in a subdirectory of the //temp// directory inside your Blocks root directory. This directory is not externally accessible for reading data. Thus, uploaded files must then be moved or further processed by a script. As an example, [[blocks: | Blocks provides an HTTP API for uploading files, for example images. Uploaded files are temporarily stored in a subdirectory of the //temp// directory inside your Blocks root directory. This directory is not externally accessible for reading data. Thus, uploaded files must then be moved or further processed by a script. As an example, [[blocks: | ||
- | :!: **IMPORTANT**: | + | :!: **IMPORTANT**: |
===== Upload file using multipart/ | ===== Upload file using multipart/ | ||
**URL:** / | **URL:** / |