Manipulate PDF documents anywhere, any language and any platform

Forget about platform, just send a REST API call to Create, Manipulate, Convert or Sign PDF documents in any type of application.

  Start Free Trial
Aspose.PDF Cloud for cURL

Aspose.PDF Cloud for cURL

 
 

Aspose.PDF Cloud for cURL allows you to create, edit and convert PDF files in the cloud. The API allows you to create PDF documents from a number of other file formats including PCL, HTML, XML and images. Moreover, you can convert PDF documents to various other formats including HTML, DOC, JPEG, TIFF, TXT and so on.

Manipulate PDF File Elements in Cloud

Aspose.PDF Cloud for cURL helps you manipulate elements of a PDF document like text, annotations, watermarks, signatures, bookmarks, stamps form fields and so on. The PDF REST API allows you to manage images, hyperlinks and attachments as well as facilities in common operations such as manipulation of PDF document properties, splitting, merging & signing of PDF documents.

 

Advanced PDF processing Features

 

 

Create new PDF documents

 

Split PDF document into single page documents

 

Convert PDF documents to different formats

 

Merge multiple PDF documents

 

Transform XML & XSL-FO document to PDF

 

Convert images to PDF

 

Convert HTML pages to PDF documents

 

Convert SVG files to PDF documents

 

Extract & update text & images in PDF documents

 

Add text, image, PDF page or page number as stamps

 

Digitally sign PDF documents

 

Extract annotations, signatures, bookmarks, fragments, fields

 

Update form fields

 

Move PDF pages within one PDF file

 

Count number of words on each page of a PDF

Quick start with PDF Documents Processing

It is easy to get started with Aspose.PDF Cloud for cURL and there is nothing to install. Simply create an account at Aspose for Cloud and get your application information. Once you have the App SID & key, you are ready to give the Aspose.PDF Cloud for cURL a try with any language - on any platform.

PDF Creation & Conversion

Aspose.PDF Cloud for cURL offers the capabilities to to quickly and reliably create new PDF files, edit and manipulate existing PDF files or convert to and from various supported document formats with a high degree of precision. In order to create a document you can even convert an image to PDF or convert PDF to different formats like DOC, XPS, TIFF, PDF/A, PDF/A-1a, PDF/A-1b etc. You also get the ability to convert PDF pages to images like PNG, JPEG, GIF, BMP, TIFF and much more.

Apart from PDF creation and manipulation, the API also brings the leverage to manage / manipulate PDF elements such as attachments, annotations, stamps, form fields, signatures, PDF properties, meta data, text, images etc.

EPUB to PDF conversion - cURL


// First get Access Token
// Get App Key and App SID from https://dashboard.aspose.cloud/
curl -v "https://api.aspose.cloud/oauth2/token" \
-X POST \
-d 'grant_type=client_credentials&client_id=0B17F60A-6D69-426B-9ABD-79F35A6E9F7B&client_secret=53b8b19adffa41a3e87dbbd8858977ae' \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Accept: application/json"
  
// cURL example to convert EPUB file to PDF
curl -v "https://api.aspose.cloud/v1.1/pdf/fromEpub.pdf/create/epub?srcPath=4pages.epub" \
-X PUT \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer Xju2mC3FlzhSCHCek61zfopM3dyWwotXhInl05sAVyiWo3Nc3R1r3UjqgqUyYRicrLKt8pJFSgZqik90lmfltE-P9zsIwHBheE2Qh4yfgLV_IE2FD7dDeM1thXF65g__BwScOqabN2MkyLwV8PzWZQhQSP7bPVR3VQhefJiCUKZdGRqTAirJ8_PSdT6JHuAOukz8cVIvIC_Ss5C8B2RilsrP-IRrK9ClJlqnsix6EH2E7ndvsdAlg_XxZW45lP6zRs1Y-tiI8bt_g_3FtngghwoJVQDKIijJp44QicmZaiZcDHyNqQz5zjY3NntsYMoLhGmuWvRhj6ZymYTRf1zLrZbjyBRJEM-vFOKpnCoR6UBwjXigt8swJx7usD-fuQ4F_0ogoyO4jfoq-nL0IJGg-ShdlEOfNTzQdlhdxRhvCeM2cIg6"

Split & Merge PDFs

Aspose.PDF Cloud for cURL allows you to Split all or specific pages of a PDF to a new PDF or you can also merge multiple PDF files into a single PDF document.

Append PDF files - cURL


curl -v http://api.aspose.cloud/v1.1/pdf/{documentname}/appendDocument?appsid=xxxx&signature=xxxx \
     -X POST \
     -d {"appendDocument": [{
        "Document": "sample-input.pdf",
        "StartPage": 2,
        "EndPage": 3 }]} \
     -H "Content-Type: application/json" \
     -H "Accept: application/json"

Secure PDF Documents with Signature & Encryption

Aspose.PDF Cloud for cURL helps you secure PDF file using different methods. You can add encryption, set up owner and user passwords as well as sign a PDF file using signature to protect the PDF file. You can also remove the signatures and de-crypt the PDF files.

Sign PDF document - cURL


curl -v http://api.aspose.cloud/v1.1/pdf/{documentname}/pages/{pageNumber}/sign?appsid=xxxx&signature=xxxx \
     -X POST \
     -d {"signature": [{
  "SignaturePath": "string",
  "SignatureType": "string",
  "Password": "string",
  "Contact": "string",
  "Location": "string",
  "Visible": true,
  "Rectangle": {
    "X": 0,
    "Y": 0,
    "Width": 0,
    "Height": 0
  },
  "FormFieldName": "string",
  "Authority": "string",
  "Date": "string"
}]} \
     -H "Content-Type: application/json" \
     -H "Accept: application/json"

Handle PDF Textual Contents via RESTful APIs

Aspose.PDF Cloud for cURL provides you all the features you need to handle text in a PDF file. Most useful operation include find and replace text, remove or extract text from PDF and replace text using a regular expression and so on.

Manage PDF Forms & Fields

Aspose.PDF Cloud for cURL well manages certain forms and fields within a PDF file including: text fields, dropdown, checkbox, radio button, submit button as well as extracting PDF form fields.

Language, Platform & Storage Independence

Aspose.PDF Cloud for cURL can be used with any language or platform which supports HTTP requests and responses. You can also use Aspose.PDF Cloud for cURL with many third party storage providers including Amazon S3, Google Cloud, Google Drive and DropBox.

 

Support and Learning Resources