cURL
curl --request POST \ --url https://backyard.posthoot.com/api/v1/api/v1/files/upload \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file'
{}
Upload a file to the server
Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345".
Bearer:
File to upload
File uploaded successfully
The response is of type object.
object
Was this page helpful?