Logo

Sierra-95/svelte-scaffold

Backend Integration

Backend Integration

GET method

When file picker mounts, it loads files using $fileInputStore.serverGetUrl endpoint.

javascript
Loading...

Responses are expected in the following format:

json
Loading...

POST method

The $fileInputStore.serverUploadUrl endpoint is used to upload files to your cloud. If any error occurs or specific files fail to upload, the error will be displayed using toasts.

javascript
Loading...

DELETE method

When a user selects files and $fileInputStore.manage is true, a delete button appears allowing them to remove files from the cloud via the $fileInputStore.serverDeleteUrl endpoint.

javascript
Loading...

Example Integration

js
Loading...