Before starting processing file, you should upload your file to Cloud S3 storage and only then send request to the corresponding endpoint. To do this, send POST request to https://api.groupdocs.cloud/v2.0/rewriter/file/upload GroupDocs.Rewriter Cloud REST API endpoint. This request doesn’t require authorization.
You should provide a local path to your file in the request body.
As a result, you will receive URL to your file, that you should provide in request body.
cURL example
curl --location --request POST 'https://api.groupdocs.cloud/v2.0/rewriter/file/upload'\
--header 'Content-Type: application/json'\
--F "path=@/path/to/myfile.pdf"
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.