I would really like to include the onlyoffice conversion API in my project and I just want to know if it is possible to convert files by specifying a local path rather than a URL?
Hello @akiko23
No, for the POST-requests sent to Conversion API it is necessary to provide a URL, local path won’t work in this scenario.
Hello @Constantine
The document:
url
Defines the absolute URL to the document to be converted. Be sure to add a token when using local links. Otherwise, an error will occur
So what are local links
? Are they referring to paths like http://localhost/path
?
I am a beginner.
Thank you
Hello @ChiMu
If you are using JWT authorization, then you need to sign the payload with JWT in order to successfully process the request. Please find more about Document Server’s Signature here:
https://api.onlyoffice.com/docs/docs-api/additional-api/signature/