Upload a file

Uploads a file. Checksum and file name headers must be specified.

This is not an actual API endpoint, but a specification for requests to the public upload URL returned in the POST /files response.

Headers
string
required

The Base64-encoded SHA-256 checksum of the file. The checksum must be identical to the submitted checksum in the POST /files request.

string
required

The URL-encoded name of the file according to RFC 2396, e.g. using encodeURIComponent in JavaScript or urllib.parse.quote(s, safe="-.!~*'()") in Python. The unencoded name must be identical to the submitted name in the POST /files request.

Response
200

success

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here!