cURL
curl --request POST \ --url https://pinapi.jackalprotocol.com/api/files \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file=@example-file
{ "name": "<string>", "cid": "<string>", "merkle": "<string>" }
Upload a file
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful operation
The response is of type object.
object