I am trying to use the Document Generation API from Adobe, using a external storage (blob storage azure) I am following the guide, but am receiving no response when I post to the API
I am trying to use the Document Generation API from Adobe, which takes request body
{
"input": {
"uri": "",
"storage": "BLOB"
},
"output": {
"uri": "",
"storage": "BLOB"
},
"params": {
"outputFormat": "pdf",
"jsonDataForMerge": {
"customerName": "Kane Miller",
"customerVisits": 100,
"itemsBought": [
{
"name": "Sprays",
"quantity": 50,
"amount": 100
},
{
"name": "Chemicals",
"quantity": 100,
"amount": 200
}
],
"totalAmount": 300,
"previousBalance": 50,
"lastThreeBillings": [
100,
200,
300
],
"photograph": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88h8AAu0B9XNPCQQAAAAASUVORK5CYII="
}
}
}
This is the example shown by adobe, except I have changed the storage to Blob as I am using Azure. I have made 2 blob storage containers, one contains the template in word format, and the other a blank storage for output. For the request body input, I have generated a SAS Token and URL, and put the URL in the uri request for the input. For the Output, I have generated a SAS token of the empty container, and put the URL in the uri request. When i try to post this data, It doesn't return anything. Am I understanding the input and output of the request body wrong? why am I not getting any reponse from the API?