Convert RTF to PDF using Aspose.Words REST API throwing 400(Bad Request)

Hi,

We’ve been using your service to convert RTF to PDF and have been experiencing some problems with our API calls resulting in bad requests:

PUT request for https://api.aspose.cloud/v4.0/words/storage/ resulted in 400 (Bad Request); invoking error handler

Is there anything you can see on your end that might explain this issue?

@Katrina_Rumpf

Please note Aspose.Words Cloud introduced API Version V4.0 since 19.4 version. And API Version 4.0 uses JSON WEB Token(JWT) authentication instead of OAuth2. And another noticeable change is the introduction of storage APIs in Aspose.Words Cloud.

# First get Access Token
# Get Customer Key and Customer ID from https://dashboard.aspose.cloud/
curl -X POST "https://api.aspose.cloud/connect/token" 
-d "grant_type=client_credentials&client_id=xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx&client_secret=xxxxxxxxxxxxxxxxxxxxx" 
-H "Content-Type: application/x-www-form-urlencoded" 
-H "Accept: application/json"

# Convert RTF to PDF
curl -X GET "https://api.aspose.cloud/v4.0/words/02_pages.rtf?format=pdf&folder=Temp" 
-H "accept: application/octet-stream" 
-H "Authorization: Bearer [Access_Token]" 
-H "x-aspose-client: Containerize.Swagger"
--output C:/Temp/Test.pdf