<?php
require_once 'DbConnect.php';
//an array to display response
$response = array();
//if it is an api call
//that means a get parameter named api call is set in the URL
我使用x-www-form-endoded数据创建了一个到API的登录调用。我在Postman中创建了一个POST,并收到了200个响应。我使用Postman的导出函数为iOS和iOS的NSURL代码生成OKHTTP代码。 Android代码工作正常,但iOS代码收到401响应。我使用Charles Web调试代理来查看实际发送的有效内容的内容。对于android用户名正确表示为“[email p