请问:我在安卓端明明已经加了请求头,如:
headerMap.put("Content-Type","application/json");
headerMap.put("Accept", "*/*");
headerMap.put("X-AUTH-TOKEN", token);
OkhttpUtil.okHttpPost(uri, parmMap,headerMap,new CallBackUtil.CallBackString() {。。。。。
为啥服务端还是报错:HttpMediaTypeNotSupportedException: Content type 'application/x-www-form-urlencoded' not supported
|