Upload file
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 --location --request POST 'https://api.groupdocs.cloud/v2.0/rewriter/file/upload' \
--header 'Content-Type: application/json' \
--F "path=@/path/to/myfile.pdf"