English
cURL
curl --request POST \ --url https://api.example.com/file/create \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: multipart/form-data' \ --form 'project_id=<string>' \ --form file='@example-file'
{ "digest": "<string>" }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Successful Response
Was this page helpful?