Copy
Ask AI
curl --request POST \
--url https://local.storage.nhost.run/v1/files/ \
--header 'Authorization: <authorization>' \
--header 'Content-Type: multipart/form-data' \
--form 'file[]=@path-to-file'
curl --request POST \
--url https://local.storage.nhost.run/v1/files/ \
--header 'Authorization: <authorization>' \
--header 'Content-Type: multipart/form-data' \
--form 'file[]=@path-to-file'
Upload one or multiple files at once
curl --request POST \
--url https://local.storage.nhost.run/v1/files/ \
--header 'Authorization: <authorization>' \
--header 'Content-Type: multipart/form-data' \
--form 'file[]=@path-to-file'