OpenAPIUploads
Could Upload
Check if a file could be uploaded
Request Body
application/json
content_type*string
File content type (MIME-Type)
content_length*integer
File content length (in bytes)
Response Body
application/json
application/json
curl -X POST "https://app.otascribe.ru/api/api/uploads/could_upload" \ -H "Content-Type: application/json" \ -d '{ "content_type": "string", "content_length": 0 }'nullEmpty
Empty
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}