Hello, my integration with you has been broken. I cannot convert a file from PPTX or PPT format to the PDF document, when I try to get a result file from this resource “https://api.aspose.cloud/v3.0/slides/c06ff250-6e9f-4d9c-ab3f-65cea2921be7.pptx/pdf
” I get error:
405 response code
{
"error": {
"code": "UnsupportedApiVersion",
"message": "The HTTP resource that matches the request URI 'https://api.aspose.cloud/v3.0/slides/c06ff250-6e9f-4d9c-ab3f-65cea2921be7.pptx/pdf' with API version '3.0' does not support HTTP method 'GET'."
}
}
It worked fine before
@Roman123
Please check the following API methods for saving PowerPoint Presentation from storage or request body and get the output document in response stream. Hopefully, It will help you to accomplish the task.
POST /slides/{name}/{format} Save a presentation to a specified format from storage.
curl -X POST "https://api.aspose.cloud/v3.0/slides/SAMPLE1.pptx/Pdf"
-H "accept: multipart/form-data"
-H "authorization: Bearer [Access_Token]"
-H "Content-Type: application/json"
-H "x-aspose-client: Containerize.Swagger" -d "{ }"
--output C:/Temp/Sample1.pdf
POST /slides/convert/{format} Convert presentation from request content to format specified
curl -X POST "https://api.aspose.cloud/v3.0/slides/convert/Pdf"
-H "accept: multipart/form-data"
-H "authorization: Bearer [Access_Token]"
-H "Content-Type: multipart/form-data"
-F "document"="@C:/Temp/SAMPLE1.pptx"
--output C:/Temp/SAMPLE1.pdf
I must get information why my intagration broke. I use this flow from 2019 year and it broke recently.
Flow:
- POST
https://api.aspose.cloud/v3.0/slides/storage/file/file_name.pptx
- GET
https://api.aspose.cloud/v3.0/slides/file_name.pptx/pdf
@Roman123
We are sorry for the inconvenience. Please note recently in Aspose.Slides Cloud 21.6 release we have removed the duplicate API methods. So you can use the following method instead of the above GET method.
POST /slides/{name}/{format} Save a presentation to a specified format from storage