Perl API to digital signature cloud Microsoft Excel and OpenOffice Calc spreadsheet with password and digital signature file
Perl library to digital signature cloud Microsoft Excel and OpenOffice Calc spreadsheet with password and digital signature file
Digital signature cloud Microsoft Excel and OpenOffice Calc spreadsheet with password - Perl REST API
API Request:
POST
https://api.aspose.cloud/v3.0/cells/{name}/digitalsignature
Digitaling signature a cloud spreadsheet with a password and digital signature file is a complex task. Digital signature a cloud spreadsheet with password and digital signature file transitions is performed by our Perl SDK while maintaining the source spreadsheet's main structural and logical content. Our Perl library is a professional solution to digital signature cloud spreadsheets with a password and digital signature file online. This Cloud SDK gives Perl developers powerful functionality and perfect API.
Perl code for digital signature cloud spreadsheets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-perl/ | |
use strict; | |
use warnings; | |
use utf8; | |
use File::Slurp; | |
use MIME::Base64; | |
use AsposeCellsCloud::CellsApi; | |
my $config = AsposeCellsCloud::Configuration->new( client_id => $ENV{'ProductClientId'}, client_secret => $ENV{'ProductClientSecret'}); | |
my $instance = AsposeCellsCloud::CellsApi->new(AsposeCellsCloud::ApiClient->new( $config)); | |
my $remoteFolder = 'TestData/In'; | |
my $roywangPFX = 'roywang.pfx'; | |
my $remoteName = 'Book1.xlsx'; | |
my $request = AsposeCellsCloud::Request::PostDigitalSignatureRequest->new(); | |
$request->{name} = $remoteName; | |
$request->{digitalsignaturefile} = $remoteFolder . '/roywang.pfx'; | |
$request->{password} = '123456'; | |
$request->{folder} = $remoteFolder; | |
$request->{storage_name} = ''; | |
my $result = $instance->post_digital_signature(request=> $request); |
How to use Perl API to digital signature
- Create an account at Dashboard to get free API quota & authorization details
- Initialize CellsApi with Client Id, Client Secret, Base URL & API version
- Call cells_workbook_post_digital_signature method to get the resultant stream
System Requirements
- Perl 5