| | |
| | | } |
| | | var wmsIpAddress = wmsBase + ipAddress; |
| | | |
| | | var MESrespon = HttpHelper.PostAsync(wmsIpAddress, characterInfo.ToJson()).Result; |
| | | var MESrespon = HttpHelper.PostAsync(wmsIpAddress, characterInfo.ToJson(), contentType, headers).Result; |
| | | |
| | | GetCarCharacteristicInfo characterRespon = JsonConvert.DeserializeObject<GetCarCharacteristicInfo>(MESrespon); |
| | | if (!characterRespon.success) |
| | | GetCarCharacteristicInfo characterRespon = JsonConvert.DeserializeObject<GetCarCharacteristicInfo>(MESrespon.ToString()); |
| | | if (characterRespon.code != 200) |
| | | { |
| | | throw new Exception($"{characterRespon}"); |
| | | } |