I am not able to get the v5.0 API to return a Pdf. It always returns a Png.
The input I use is:
{
"markupFile": "ew0KICAgICJlbGVtZW50X3R5cGUiOiAiVGVtcGxhdGUiLA0KICAgICJjaGlsZHJlbiI6IFsNCiAgICAgICAgew0KICAgICAgICAgICAgImVsZW1lbnRfdHlwZSI6ICJQYWdlIiwNCiAgICAgICAgICAgICJjaGlsZHJlbiI6IFsNCiAgICAgICAgICAgICAgICANCiAgICAgICAgICAgICAgICB7DQogICAgICAgICAgICAgICAgICAgICJlbGVtZW50X3R5cGUiOiAiRW1wdHlMaW5lIg0KICAgICAgICAgICAgICAgIH0sDQogICAgICAgICAgICAgICAgew0KICAgICAgICAgICAgICAgICAgICAiZWxlbWVudF90eXBlIjogIlRleHQiLA0KICAgICAgICAgICAgICAgICAgICAibmFtZSI6ICJDdWx0dXJlIGFuZCBHZW9ncmFwaHkiLA0KICAgICAgICAgICAgICAgICAgICAiZm9udF9zaXplIjogMjgsDQogICAgICAgICAgICAgICAgICAgICJmb250X3N0eWxlIjogImJvbGQiDQogICAgICAgICAgICAgICAgfSwNCiAgICAgICAgICAgICAgICB7DQogICAgICAgICAgICAgICAgICAgICJlbGVtZW50X3R5cGUiOiAiRW1wdHlMaW5lIg0KICAgICAgICAgICAgICAgIH0sDQogICAgICAgICAgICAgICAgew0KICAgICAgICAgICAgICAgICAgICAiZWxlbWVudF90eXBlIjogIkFuc3dlclNoZWV0IiwNCiAgICAgICAgICAgICAgICAgICAgIm5hbWUiOiAiQW5zd2VycyIsDQogICAgICAgICAgICAgICAgICAgICJlbGVtZW50c19jb3VudCI6IDE1LA0KICAgICAgICAgICAgICAgICAgICAiY29sdW1uc19jb3VudCI6IDMsDQogICAgICAgICAgICAgICAgICAgICJhbnN3ZXJzX2NvdW50IjogNSwNCiAgICAgICAgICAgICAgICAgICAgImJ1YmJsZV9zaXplIjogImxhcmdlIiwNCiAgICAgICAgICAgICAgICAgICAgInZlcnRpY2FsX21hcmdpbiI6IDEwLA0KICAgICAgICAgICAgICAgICAgICAiYW5zd2Vyc19saXN0IjogWyAiQSIsICJCIiwgIkMiLCAiRCIsICJFIiBdDQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgXQ0KICAgICAgICB9DQogICAgXQ0KfQ==",
"settings": {
"fontFamily": "Arial",
"fontStyle": "Regular",
"fontSize": 12,
"paperSize": "A4",
"pageMarginLeft": 50,
"outputFormat": "Pdf"
},
"images": {},
"outputFormat": "Pdf"
}
Even though the response specifies that the output is Pdf, it actually is a Png.
Could you please advise?
Thank you in advance!