Adding an SMS provider without a node client
I working on this issue: https://github.com/novuhq/novu/issues/30
And I see that Transmit SMS doesn't have a node client.
Any ideas on how can I add the provider anyway? (Use Axios maybe? Or just by making HTTP requests separately?
GitHub
[NV-184] - Add support for TransitSMS · Issue #30 · novuhq/novu
I'm submitting a feature request Summary TransitSMS is a popular SMS provider in Australia and New Zealand. Documentation: https://developer.transmitsms.com/ Other information I'll ...
7 Replies
node-fetch is a great library to use in this case
@davidsouthmountain How I could test the provider?
with an test account for tansitsms
Why is node-fetch your choice for this instead of making an internal api wrapper for it?
Because in 99.9% of the cases we only need one endpoint in providers api
What Emil is creating is basically an internal api wrapper 😉
Thanks for the explanation!
No problem
and with node-fetch it is easy to later on replace it with the native support in nodejs for fetch