rohityadavcloud commented on code in PR #18:
URL: https://github.com/apache/cloudstack-csbench/pull/18#discussion_r2046178000


##########
apirunner/apirunner.go:
##########
@@ -253,10 +253,14 @@ func saveData(apiURL string, count float64, minTime 
float64, maxTime float64, av
 
 func executeAPI(apiURL string, params url.Values) (float64, float64, bool) {
        // Send the API request and calculate the time
-       apiURL = fmt.Sprintf("%s?%s", apiURL, params.Encode())
+       data := strings.NewReader(params.Encode())
        log.Infof("Running the API %s", apiURL)
        start := time.Now()
-       resp, err := http.Get(apiURL)
+       resp, err := http.Post(

Review Comment:
   Should all APIs be Post?



-- 
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

Reply via email to