Hi Team,
I am trying to integrate the Collabora online with my spring boot application using WOPI protocol to view the microsoft documents. But getting error failed to load resource with error code 400 (Bad request).
Java script code:
const wopiSrc = encodeURIComponent(‘http://202.21.38.240:8085/wopi/files/example.docx’);
iframe.src = http://202.21.38.240:9980/loleaflet/dist/loleaflet.html?WOPISrc=${wopiSrc}
;
but this document server Url (http://202.21.38.240:8085/wopi/files/example.docx) working properly and accessible only failing during render the document to collabora loleaflet ui to view.
Could anyone please guide me where I am missing something?
Thanks,
Jitendra Prasad,