Skip to content

a2pClient.headlessChromeFromHtml does not accept backslashes #8

Open
@Andromeda227799

Description

@Andromeda227799

Api2PdfClient a2pClient = new Api2PdfClient(api2PDFProperties.getApiKey());

String html = "String with backslash \ "

//below code breaks with a 400 error
String pdfURL = a2pClient
.headlessChromeFromHtml(html, true, filename, options)
.getPdf();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions