http 415 unsupported media type的解决办法
设置Idhttp.ContentType 的类型。如 接口要求使用Post方式Json格式的串则设置:
Idhttp.ContentType = 'application/json'.
注:一定是要先设置格式ContentType 再post,也就是说是设置post是以一种什么格式传参数
设置Idhttp.ContentType 的类型。如 接口要求使用Post方式Json格式的串则设置:
Idhttp.ContentType = 'application/json'.
注:一定是要先设置格式ContentType 再post,也就是说是设置post是以一种什么格式传参数