Convert Word, Excel, PowerPoint, HTML, PDF and Image formats with our powerful file conversion Rest API.
- excel to pdf.
Post
- data: file binary
- format: target file format. etc:
pdf
http://121.36.50.216:5000/convert
File binary
For Example
var form = new FormData();
form.append('data', file);
form.append('format', 'pdf');
fetch('http://121.36.50.216:5000/convert', {
method: 'POST',
body: form
}).then(response => {
response.blob().then(function(blob) {
var objectURL = URL.createObjectURL(blob);
myImage.src = objectURL;
});
})