apotropaic/parse.com-php-library — Issue #2: Failed to get response 201 when trying to create an object with GeoPoint
Author: ldjpr
Created: 2012-02-10 23:00:10+00:00
State: open

Hello
$parse = new parseRestClient(array('appid' => 'xxx, 'masterkey' => 'xxx'));

I am receiving the error in title. Here is the code.

$params = array(
'className' => 'class_name',
'object' => array(
'geo' => array('__type' => 'GeoPoint', 'latitude' => '43.35', 'longitude' => '11.0'),
'name' => 'my house'));

$request = $parse->create($params);

Can anyone help me with this? It works well if i remove the geo key.

thanks

ldj