Content-Type
com application/json
.Leia https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization
Exemplo:
curl -X POST \
http://localhost/index.php/apps/libresign/api/v1/webhook/register \
-H 'Accept: application/json' \
-H 'Authorization: Basic YWRtaW46YWRtaW4=' \
-H 'Content-Type: application/json'
-d '{
"file": {
"url": "https://test.coop/test.pdf"
},
"name": "test",
"users": [
{
"display_name": "Jhon Doe",
"email": "jhondoe@test.coop",
"description": "Lorem ipsum"
}
]
}'