Aspose.Slides Cloud API - 405 Error when Trying to Save a Slide

Hi There,

I am now trying out your Slides Cloud API using your aspose/slides-sdk-php and created an application as well. But for some reason, I keep receiving a 405 error. How may I fix this?

 [405] Client error: `PUT https://api.aspose.cloud/v3.0/slides/Presentations/presentation-sample.pptx/slides/1/Png?outPath=slide_1.png` resulted in a `405 Method Not Allowed` response",
"exception": "Aspose\\Slides\\Cloud\\Sdk\\Api\\ApiException

Thank you in advance,
image.png (66.5 KB)

@uelmarortega,
Thank you for contacting support.

I am working on the issue you described and will get back to you as soon as possible.

Thank you @andrey.potapov for responding. Just for additional information, I think this has something to do with adding file name that is located in a sub folder. The file is located in Presentations/presentation-sample.pptx is there a way to get slides from a presentation that is inside a subfolder?

@unickortega,
Please share the following:

  • the presentation-sample.pptx file you used
  • PHP code example