|
@@ -223,9 +223,9 @@ func Invoke(params HttpParams) (str string, rtnHeaders map[string][]string, hcEr
|
223
|
223
|
|
224
|
224
|
if params.ct.jsonBody != "" {
|
225
|
225
|
_, err = json.Marshal(params.ct.jsonBody)
|
226
|
|
- if err == nil {
|
227
|
|
- return str, rtnHeaders, &HttpCallerException{Message: "failed to bad content type json string", CauseErr: err}
|
228
|
|
- }
|
|
226
|
+ //if err == nil {
|
|
227
|
+ // return str, rtnHeaders, &HttpCallerException{Message: "failed to bad content type json string", CauseErr: err}
|
|
228
|
+ //}
|
229
|
229
|
reqStr = params.ct.jsonBody
|
230
|
230
|
defaultContentType = params.ct.contentType
|
231
|
231
|
reqUrl = appendParams(reqUrl, data.Encode())
|