Skip to content

ialakey/converter-libreoffice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Body JSON:

{
    "byteArray": [1, 2, 3],//File byte array
    "fileName": "input.docx" //Specify the name and permission of the transferred file
}

GET requets:

convertDocxToHtml - Converting docx to html using LibreOffice

convertHtmlToPdf - Converting html to pdf using LibreOffice

Request example:

curl --location --request GET 'http://localhost:8080/api/v1/converting/convertDocxToHtml' \
--header 'Content-Type: application/json' \
--data-raw '{
    "byteArray": [1, 2, 3],//File byte array
    "fileName": "input.docx" //Specify the name and permission of the transferred file
}'

POST requests:

Removing a directory

curl --location --request POST 'http://localhost:8080/api/v1/converting/deleteDirectory' \
--data-raw ''

About

Converter files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages