我正在使用ASP.NET Core MVC 2.0与waboxapp API(link)集成。
一些参数已经发布了
let storyboard = UIStoryboard(name: "Main", bundle: nil)
let dVC: ViewController2 = storyboard.instantiateViewController(withIdentifier: "Your vc2 stroryboard identifier") as! ViewController2
self.navigationController?.pushViewController(dVC, animated: true)
我尝试了以下代码:
contact[uid], contact[name], contact[type], message[uid], message[body] etc...
检索传入参数的正确方法是什么?
答案 0 :(得分:1)
对于waboxapp
,其请求为标准HTTP格式(application / x-www-form-urlencoded)。尝试执行以下步骤: