sureshanaparti commented on code in PR #18: URL: https://github.com/apache/cloudstack-csbench/pull/18#discussion_r2053924621
########## apirunner/apirunner.go: ########## @@ -251,12 +253,24 @@ func saveData(apiURL string, count float64, minTime float64, maxTime float64, av log.Info(message) } -func executeAPI(apiURL string, params url.Values) (float64, float64, bool) { +func executeAPI(apiURL string, params url.Values, post bool) (float64, float64, bool) { // Send the API request and calculate the time - apiURL = fmt.Sprintf("%s?%s", apiURL, params.Encode()) + var resp *http.Response + var err error + dataBody := strings.NewReader(params.Encode()) Review Comment: keep this in `if post {`, at line#264 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org