- RouterCaseSensitive = false.
- debug calling freshfood.
This commit is contained in:
@@ -103,6 +103,7 @@ func (f *FreshFoodAPI) AccessFreshFood(apiStr string, params url.Values) error {
|
||||
fullURL := f.baseURL + "/" + apiStr
|
||||
for i := 0; i < retryCount; i++ {
|
||||
if params != nil {
|
||||
globals.SugarLogger.Debug(params.Encode())
|
||||
response, err = f.client.PostForm(fullURL, params)
|
||||
} else {
|
||||
response, err = f.client.Get(fullURL)
|
||||
|
||||
Reference in New Issue
Block a user