curl --location --request POST 'https://api.vidinfra.com/distributions//headers' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"key": "Host",
"value": "www.cdn.com",
"type": "request",
},
{
"key": "Host",
"value": "www.cdn.com",
"type": "response",
"action": "hide" // add
},
{
"key": "Access-controll",
"value": "*/",
"type": "cors",
}
]
GET API,
UPDATE(Upsert)
DB:
1. distribution_id'
{}
Authorization: Bearer ********************