ios - In object-c, how to solve The data couldn’t be read because it isn’t in the correct format of http service
解决方案
数据应该是结构化的形式。以 JSON 格式,当您向服务器发送请求查询时。
尝试使用Advanced Rest Client google chrome 扩展程序或Postman来识别此问题。这将解决您的问题。
推荐阅读
- node.js - 该合约对象尚未设置地址,请先设置地址
- python - 有没有更简单的方法来验证 python 中的用户输入而不重复 while 循环?
- c - 每个静态链接 C 运行时的库是否都有不同版本的运行时?
- javascript - Chart.js 数据最初未加载
- laravel - 在 Docker 上运行的 Laraver 8.40 在尝试通过 artisan 迁移时出现 MySQL 2002 错误
- javascript - 无法解决调用另一个方法的 Promise
- sql - AWS Timestream:不支持给定的相关子查询
- label - graphviz 标签的虚线下划线
- java - How synchronization works in Java when i use synchronized(this.local_datamember)?
- c - 如何找到像`pthread_t`这样的ac类型的定义?