Hello,
Having a tough time understanding the steps for authenticating by REST so I can create documents in my CE onprem server. Does anyone have some postman profiles willing to share so I can use as a guide?
Hello @michaelT
If you mean Web Document Builder API and you are having troubles with using it, then the easiest way to pass JWT authentication is:
- In Authorization tab select JWT Bearer;
- in the Secret field paste your secret (find it in local.json);
Config is located in:
Windows -C:\%ProgramFiles%\ONLYOFFICE\DocumentServer\config
;
Linux -/etc/onlyoffice/documentserver/
(same path in Docker container).
- in the Payload paste body of the request (example is here).
Once the request is sent, processed and response received - you will find a link to the file.
If you would like to download the file from the browser, then please check this beforehand: