android - 从 MySql 数据库中获取 cUrl
问题描述
我现在正在使用 Visual Studio 2017 中的 Xamarin 创建一个 android 应用程序,我想将一些数据插入 MySql DB,我想使用 REST API 来完成,但我实际上不知道如何获取 cUrl 进行连接REST API 与我的数据库,例如“ http://jsonplaceholder.typicode.com/posts” ;” 这将返回我们可以与 api 一起使用的 Json 结构,但不知道如何为我的数据库创建或获取该 cUrl
解决方案
您需要开发 API(后端)来以 JSON 格式检索或发送信息。因此,使用 POST 或 GET 或其他方法,您将能够与数据库通信 在此处查看更多详细信息 https://docs.microsoft.com/fr-fr/xamarin/xamarin-forms/data-cloud/sumption/rest
推荐阅读
- java - 如何等待 lambda 表达式完成
- firebase - ios/Pods/FirebaseCore/Firebase/Core/FIRBundleUtil.m:17:9:致命错误:找不到“GoogleUtilities/GULAppEnvironmentUtil.h”文件
- javascript - Javascript多转换器
- mysql - 通过跳过空值连接列值
- angular - 尝试从 Angular 中的控制器将计算属性添加到结果集中
- javascript - JavaScript // 通过函数访问对象
- java - QueryTimeoutException: ORA-01653: 使用 spring-batch 时无法扩展表
- javascript - 当谷歌地图中的一切准备就绪时,如何触发按钮单击?
- python - 如何在不使用 try-except 的情况下检查原始输入是整数还是浮点数(包括负数)
- qt - QWidget 的 minimumSize 与 minimumSizeHint