Remove HTTPS rqmt
yepher opened this issue · 2 comments
yepher commented
The requirement for HTTPS should be removed so this library can be used with HTTP on Momentum instances too.
https://github.com/SparkPost/gosparkpost/blob/master/common.go#L95
yargevad commented
There actually isn't a hard https
requirement - you're free to either not call Client.Init()
, or to modify the Client.Config.BaseUrl
value yourself after calling Client.Init()
.
yepher commented
This is perfect thank you.