Merge 3
Merges 3 pdfs
Input
{
"files": [
{
"name": "file.pdf",
"type": "",
"path": "testdata/file.pdf"
},
{
"name": "pdf-landscape.pdf",
"type": "",
"path": "testdata/pdf-landscape.pdf"
},
{
"name": "file.pdf",
"type": "",
"path": "testdata/file.pdf"
}
]
}Output · HTTP 200
{
"statusCode": 200,
"headers": {
"content-type": "application/pdf",
"content-disposition": "attachment; filename=\"result.pdf\""
}
}Show curl command
curl -X POST 'https://api.1001fx.com/files/mergepdfs' \
-H 'X-API-KEY: YOURSECRETAPIKEY' \
-F 'file1=@file.pdf' \
-F 'file2=@pdf-landscape.pdf' \
-F 'file3=@file.pdf'