Skip to content

2.0.0

Compare
Choose a tag to compare
@ccjmne ccjmne released this 18 Jul 21:31
· 6 commits to master since this release
6269400

Breaking change from version 1.x.x:

The /multiple endpoint used to expect the request body to be a JSON object with a single pages property that would map to a JSON array of strings containing your HTML content for each page to be printed.
That endpoint now expects the JSON array directly.

  • version 1.x.x

    {
      "pages": [
        "<h1>First Page</h1>",
        "<h1>Second Page</h1>"
      ]
    }
  • version 2.x.x

    [
      "<h1>First Page</h1>",
      "<h1>Second Page</h1>"
    ]