Convert Web page URL to PDF using Aspose.HTML REST API with Postman without Cloud storage

Hello, I would like to convert HTML files to PDF through a URL, purely by using a REST API instead of using files in storage. I already have my App Id and App SID, as well as my Access Token, but I am facing issues with passing in the sourceURL. I am using https://www.google.com as an example. I am getting the following error:
{

"error": {

    "code": "resourceNotFound",

    "message": "Invalid URL. Please check for correct usage of the domain and version.",

    "description": "Operation Failed. Invalid URL.",

}

}

I have tried passing the sourceURL in Params, as well as form-data and x-www-form-urlencoded in the Body. Do you have any working examples of this using Postman that I could use for reference?

@yappy.yap

It seems the GetConvertDocumentToPdfByUrl API is not working as expected. I have logged a ticket HTMLCLOUD-1736 for further investigation and rectification. We will keep you updated about the issue resolution progress within this forum thread.

1 Like