Closed nithinkashyapn closed 5 years ago
I've actually never tried to use this from the browser myself. The way I usually call the service is from other servers or services. I do see the usefulness in being able to call it from a browser so if you have a repo with a form example I could use for testing I can look into it.
Hey,
Will create and send the link within few minutes. Simple AJAX would do right?
Yes. Keep it minimal :-)
Hey,
I've implemented the browser based API here
https://github.com/nithinkashyapn/browser-file-convert
Thanks.
Hey,
I seem to have got it to start working. All i needed was to handle the blob
type.
I checked the same via XMLHttpRequest()
and AJAX
. It works.
I've updated the repository as well.
Thanks.
Cool. Will you keep the repo public so I can reference it from the README?
Yep,
The repository would remain public. It'll be a privilege to be referenced.
Thank you
Finally got the time to do an update so you are now a part of the README :-)
If everything is okay feel free to close the issue.
Thank you very much.
Will close the issue.
Take care.
Hey,
Thanks for the wonderful docker image.
I am trying to implement
unoconv
API from the browser usingAJAX
and it's resulting in PDFs being created from documents with no content inside them.My regular
AJAX
call looks like thisThis is creating a
bin
file onPostman
and an empty PDF when i save to storage. It is working withcURL
.Is there any other step which needs to be done while implementing on browser?