Skip to content

Batch path should start with api/ not /api/ #86

@chrisspiegl

Description

@chrisspiegl

Based on docs:

The relative path of api endpoint. Must start with api/
Source: https://developers.mailerlite.com/docs/batching.html#request-body

But the example shows it with /api/

    {
      method: "GET",
      path:   "/api/forms/popup",   // <-- incorrect and potentially confusing
      body:   {
        filter: {
          name: "test popup"
        }
      }

https://github.com/mailerlite/mailerlite-nodejs/blame/4dbc1670ab289fdc8b568da08765afe3d03efead/src/modules/batches/README.md#L30C7-L30C34

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