Copy link to clipboard
Copied
I am using following EMBDE PDF REST API GIVEN BY ADOBE
curl --location --request POST 'https://cpf-ue1.adobe.io/ops/:create?respondWith=%7B%22reltype%22%3A%20%22http%3A%2F%2Fns.adobe.com%...' \
--header 'Authorization: Bearer ' \
--header 'Accept: application/json, text/plain, */*' \
--header 'x-api-key: ' \
--header 'Prefer: respond-async,wait=0' \
--form 'contentAnalyzerRequests="{
\"cpf:inputs\": {
\"documentsIn\": [{
\"pageRanges\": {
\"cpf:inline\": [{
\"start\": 1,
\"end\": 4
}]
},
\"documentIn\": {
\"cpf:location\": \"InputFile0\",
\"dc:format\": \"application/pdf\"
}
}, {
\"pageRanges\": {
\"cpf:inline\": [{
\"start\": 1,
\"end\": 25
}]
},
\"documentIn\": {
\"cpf:location\": \"InputFile1\",
\"dc:format\": \"application/pdf\"
}
}, {
\"pageRanges\": {
\"cpf:inline\": [{
\"start\": 1
}, {
\"end\": 25
}, {
\"start\": 1,
\"end\": 25
}]
},
\"documentIn\": {
\"cpf:location\": \"InputFile2\",
\"dc:format\": \"application/pdf\"
}
}]
},
\"cpf:engine\": {
\"repo:assetId\": \"urn:aaid:cpf:Service-916ee91c156b42349a7847a7d564fb13\"
},
\"cpf:outputs\": {
\"documentOut\": {
\"cpf:location\": \"OutputFile\",
\"dc:format\": \"application/pdf\"
}
}
}"' \
--form 'InputFile0=@""' \
--form 'InputFile1=@""' \
--form 'InputFile2=@""'
ISSUE:
WHEN I POSTING THROUGH THE POST MAN BY GIVING CORRECT TOKEN , API KEY & THE FILES PARAMETERS TO BE EMBEDDED, I AM GETTING MESSAGE "202-ACCEPTED" BUT THE PROCESS IS NOT COMPLETED. IT IS SAYING "The reqeust has been accepted for processing , but the processing has not been completed.The request might or might not be evnetually acted upon, as it might be disallowed when processing actually takes place".
Please kindly provide the solution.
Copy link to clipboard
Copied
Looks like that you are in a wrong forum.
Copy link to clipboard
Copied
Which Forum I need to post this question?
Copy link to clipboard
Copied
In the forum for Document Services API.