curl --request POST \
--url https://api.oquiz.net/files/upload \
--header 'Authorization: <api-key>' \
--header 'Content-Type: multipart/form-data' \
--form 'folder=<unknown>' \
--form file='@example-file'{
"colors": [
"<string>"
],
"file": {
"duration": "<unknown>",
"id": "<string>",
"src": "<string>",
"color": "<unknown>",
"hash": "<unknown>",
"createdAt": "2023-11-07T05:31:56Z",
"userId": "<unknown>"
}
}Upload a file.
curl --request POST \
--url https://api.oquiz.net/files/upload \
--header 'Authorization: <api-key>' \
--header 'Content-Type: multipart/form-data' \
--form 'folder=<unknown>' \
--form file='@example-file'{
"colors": [
"<string>"
],
"file": {
"duration": "<unknown>",
"id": "<string>",
"src": "<string>",
"color": "<unknown>",
"hash": "<unknown>",
"createdAt": "2023-11-07T05:31:56Z",
"userId": "<unknown>"
}
}Была ли эта страница полезной?