tt
This commit is contained in:
@@ -36,7 +36,7 @@ func (a *API) AccessAPI2(url string, params map[string]interface{}) (retVal map[
|
||||
}
|
||||
err = platformapi.AccessPlatformAPIWithRetry(a.client,
|
||||
func() *http.Request {
|
||||
request, _ := http.NewRequest(http.MethodPost, url, strings.NewReader(string(data)))
|
||||
request, _ := http.NewRequest(http.MethodGet, url, strings.NewReader(string(data)))
|
||||
request.Header.Set("Content-Type", "application/json")
|
||||
return request
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user