REST API Overview – Aspose.HTML Cloud
Aspose.HTML Cloud offers a robust REST API that allows developers to integrate file processing and conversion capabilities into their applications. The API supports a wide range of file formats and provides flexible options for file conversion, cloud storage management, and asynchronous processing.
Key Features
- Authentication: Secure your API calls using Bearer tokens. Learn more in the Authorization Guide.
- File Conversion: Convert files between multiple formats, including HTML, PDF, DOCX, image formats, and more.
- Cloud Storage Management: Upload, manage, and download files using Aspose’s cloud storage.
- Synchronous and Asynchronous Processing: Handle both small files with immediate responses and large files with background processing.
API Use Cases
Convert Files from a URL
Convert online files by providing a direct URL. Ideal for dynamic web content and files hosted on external servers.Convert Local Files
Upload local files to Aspose Cloud Storage and perform file conversions. Best for working with files stored on your server or local machine.Convert HTML Content
Convert HTML content directly provided as a string in your requests. Useful when dynamically generating HTML content.Convert from Base64
Convert Base64-encoded HTML content. Particularly suitable for embedding files directly in API requests.Manage Files in Cloud Storage
Upload, list, and download files programmatically using the REST API.Automate File Processing Workflows
Utilize asynchronous processing to handle large files or automate batch processing.
Getting Started
To start using Aspose.HTML Cloud REST API, follow these steps:
- Authenticate: Obtain an access token following the Authorization Guide.
- Choose Your Conversion Method:
- Implement in Your Application: Use our examples in C#, JavaScript, and other supported languages.
- Test and Validate: Utilize the API Reference to test endpoints.
Supported File Formats
- Input Formats: HTML, EPUB, MHTML, Markdown, XHTML, SVG
- Output Formats: PDF, XPS, DOCX, JPEG, PNG, TIFF, BMP, GIF, MHTML, SVG