Skip to content

Feature request: Change default hostname to allow local testing against mock endpoints #521

@xgp

Description

@xgp

I looked for a way to change this in the existing library, and I can't find it.

I'd like to do some testing against my own mock endpoints, so I can validate the expected payloads without actually sending a message or requiring network connectivity. Is there a way to override the default hostname of api.twilio.com?

If not, it would be great to allow passing in a new hostname or base_url when creating a Client.

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