Skip to content

Wrong API endpoints #40

@UpcraftLP

Description

@UpcraftLP

Right now the SDK expects the api_endpoint configuration to be in the form of https://us.i.posthog.com/i/v0/e/, which means a client can only use the single event endpoint (/i/v0/e) OR the batch endpoint (/batch), but not both at the same time.

Instead, users should only need to provide a URL like https://us.i.posthog.com and have the SDK use the correct path for the right action (also in future for querying other endpoints for ex. error tracking or feature flags).

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