Convert Markdown to PDF.
POST/pdf/markdownstringtopdf
Convert Markdown to PDF.
Request
Header Parameters
ipaas string
- application/json
Bodyrequired
markdownStringstringrequired
The Markdown source that will be converted to a PDF.
cssstring
Custom CSS to change the Markdown look.
getAsUrlboolean
Whether the result PDF should be returned as a URL. Default is false
.
Example:
true
fileNamestring
The PDF file name. Default is a random ID.
Responses
- 200
- 400
Success
- application/json
- application/octet-stream
- Schema
- Example (auto)
Schema
urlstringrequired
{
"url": "string"
}
- Schema
Schema
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}