Aspose.Cells Cloud Getting Started

Contents
[ ]

Getting Started Guide

Before you begin, make sure you have a valid Aspose Cloud API key and storage name. These credentials are required for all subsequent API calls.

Step 1: Upload an Excel file
Upload your source workbook to Aspose Cloud storage.

curl -X PUT "https://api.aspose.cloud/v4.0/cells/storage/file/{path}" \
     -H "Authorization: Bearer {access_token}" \
     -H "Content-Type: application/octet-stream" \
     --data-binary @sample.xlsx

Step 2: Convert the workbook to PDF
Send a conversion request after the file is stored.

curl -X POST "https://api.aspose.cloud/v4.0/cells/{name}/saveas?format=pdf&outPath={outputPath}" \
     -H "Authorization: Bearer {access_token}"

Step 3: Download the converted PDF
Retrieve the resulting PDF from storage.

curl -X GET "https://api.aspose.cloud/v4.0/cells/storage/file/{outputPath}" \
     -H "Authorization: Bearer {access_token}" \
     -o result.pdf

Sample Request / Response Summary

Operation HTTP Method Endpoint (example) Success Status
Upload PUT /cells/storage/file/{path} 200 OK
Convert POST /cells/{name}/save?format=pdf&outPath={outputPath} 200 OK
Download GET /cells/storage/file/{outputPath} 200 OK