Append PDF Files

Introduction

This example allows you to append two PDF files using Aspose.Pdf for Cloud API in your applications. You can use our REST API with any language: .NET, Java, PHP, Ruby, Rails, Python, jQuery and many more.

Resource

The following Aspose.Pdf for Cloud REST API resource has been used in the examples: PostAppendDocument.

Parameter Required Description Value
name true Added to the path variable /pdf/{name}/appendDocument. This document is uploaded to the Aspose Cloud Storage. String
appendDocument true

JSON Object containing the name of the file to be appended and the first and last page of the document that will be appended to the named parameter. For Example

{‘Document’: ‘4pages.pdf’, ‘StartPage’: 1, ‘EndPage’: 2 }

JSON
appendFile false The file named in this parameter will be appended to the path parameter file. The start and end page can be controlled by the below params String
startPage false The start page for the appendFile Integer
endPage false Appending end page. Integer

cURL Example

SDK Source

The Aspose for Cloud SDKs can be downloaded from the following page: Available SDKs

SDK Examples

Append PDF Files