标签: xcode url post request swift4
@IBAction func log(_ sender: UIButton){ let url = URL(string:"https://www.w3schools.com/action_page.php")! var request = URLRequest(url: url) richiesta.httpMethod = "POST" }
我有一个按钮,当我用在线POST表单触摸它时,我想通过应用程序发送变量。
由于 安德鲁