【发布时间】:2017-10-02 09:51:14
【问题描述】:
我正在尝试在 Swift3 中运行 HTTP 请求,将 2 个参数发布到 URL。
例子:
链接:
http://test.tranzporthub.com/street45/customer_login.php
参数:
{
"user_id":"chaitanya3191@gmail.com",
"password":"123"
}
最简单的方法是什么?
我什至不想阅读回复。我只想发送它以通过 PHP 文件对我的数据库执行更改。
【问题讨论】:
-
到目前为止您尝试过什么,您使用的是什么框架?您是否至少尝试过搜索类似 http rest client 的东西??
标签: xcode swift3 httprequest postman raw-data