req, err := http.NewRequest(http.MethodGet, fmt.Sprintf("https://%s/%s", instance.config.BaseURL, path), nil)
You should not hardcode to https as it is making local testing difficult and unncessary complicated. We should make a backward compatible change if protocol is passed use that else you https