解析服务器php sdk未捕获的异常'Parse \ ParseException',消息'Bad Request'

时间:2017-02-16 12:39:44

标签: parse-platform parse-server

我运行Parse服务器,现在想通过Parse php sdk连接到服务器,但是收到错误未捕获异常'Parse \ ParseException'并显示消息'Bad Request'

ParseClient::initialize( 'app_id', null, 'master_key');
ParseClient::setServerURL('http://server_ip:1337', 'parse');

$query = new ParseQuery("_User");
$query->equalTo("username", "Mushegh");
$results = $query->find();
echo "Successfully retrieved " . count($results) . " scores.";

我做错了什么?

0 个答案:

没有答案