We've recently released v2.6.0 of our Node.js SDK and added the ability to change the host used for making HTTP requests.
This feature allows developers to override the default hosts, api.nexmo.com and rest.nexmo.com, in the SDK, enabling them to bypass the load balancer and make requests towards specific data centers or proxies. By adding an options object to the Nexmo instance with an apiHost property, developers can specify a custom host for their API requests. The new feature also supports using curlhub as a proxy to inspect API traffic before it reaches the Nexmo API. To use this feature, developers need to add the apiHost and restHost properties to their Nexmo instance, followed by a bucket ID from curlhub appended to the specified hosts. The updated SDK can be tracked on GitHub, and developers are encouraged to provide feedback or suggest improvements.