curl --location --request POST '//api.postmarkapp.com//templates/validate' \
--header 'X-Postmark-Server-Token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"HtmlBody": "string",
"InlineCssForHtmlTestRender": true,
"Subject": "string",
"TestRenderModel": {},
"TextBody": "string"
}'
{
"AllContentIsValid": true,
"HtmlBody": {
"ContentIsValid": true,
"RenderedContent": "string",
"ValidationErrors": [
{
"CharacterPosition": 0,
"Line": 0,
"Message": "string"
}
]
},
"Subject": {
"ContentIsValid": true,
"RenderedContent": "string",
"ValidationErrors": [
{
"CharacterPosition": 0,
"Line": 0,
"Message": "string"
}
]
},
"SuggestedTemplateModel": {},
"TextBody": {
"ContentIsValid": true,
"RenderedContent": "string",
"ValidationErrors": [
{
"CharacterPosition": 0,
"Line": 0,
"Message": "string"
}
]
}
}