updated for support with https endpoint