sendgrid / sendgrid-nodejs

The Official Twilio SendGrid Led, Community Driven Node.js API Library
https://sendgrid.com
MIT License
2.98k stars 781 forks source link

fix: parameter added to request object to handle base url #1365

Closed carrasquel closed 11 months ago

carrasquel commented 2 years ago

When working with local development mocking services a bypass or override of the base url must be done, with the nodejs library can not be accomplished, this pr will take into account a baseUrl parameter added to data in order to handle changing the default base url.

Checklist

If you have questions, please file a support ticket.