SparkPost/gosparkpost

Remove HTTPS rqmt

yepher opened this issue · 2 comments

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

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().

This is perfect thank you.