twilio / twilio-go

A Go package for communicating with the Twilio API.
MIT License
272 stars 40 forks source link

changing base API url #170

Closed omertoast closed 2 years ago

omertoast commented 2 years ago

I have to change the base API url in order to send requests to the mock server in tests but apparently, API URLs are hardcoded so I couldn't find a way to send requests to the mock server.

omertoast commented 2 years ago

i fixed this by using custom clients.