curl --request POST \
--url http://127.0.0.1:3000/api/attachments/signature \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"contentType": "image/png",
"contentLength": 123,
"type": 1,
"expiresIn": 3600,
"hash": "xxxxxxxx",
"baseId": "<string>"
}
'