I am using https://api.pdfjs.express/xfdf/merge. and pdf filw of 30 MB atleast with anotations. but no response is coming. not showing any error. request timeout.
I am using
const data1 = new FormData();
data1.append(‘xfdf’, xfdfString);
data1.append(‘file’, blob);
data1.append(‘headers’, JSON.stringify({
“Access-Control-Allow-Origin”: ‘*’
}));
// Process the file
const response = await fetch('https://api.pdfjs.express/xfdf/merge', {
method: 'post',
body: data1
}).then(resp => resp.json());