Hi I have professional license for Aspose, Currently we are using in dotnet. But would like to know is there any curl to convert pdftoword.
Yes, you can convert a PDF document to a Word document using the Aspose.Words Cloud API. Please check documentation for quick start and find the sample cURL command for reference.
# First get Access Token
# Get Client ID and Secret ID from https://dashboard.aspose.cloud/
curl -X POST "https://api.aspose.cloud/connect/token" -d "grant_type=client_credentials&client_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx&client_secret=xxxxxxxxxxxxxxxxx" -H "Content-Type: application/x-www-form-urlencoded" -H "Accept: application/json"
# Convert PDF document from local drive to DOCX
curl -X PUT "https://api.aspose.cloud/v4.0/words/convert?format=docx"
-H "Authorization: Bearer eyJhbGciOiJSUzI1N........TExijTytmAcg"
-H "Content-Type: multipart/form-data"
-F Document="@C:/Temp/Test.pdf"
--output C:/Temp/Test.docx