AllPlayers/develop.allplayers.com — Issue #18: Update/PUT on resources always returns NULL
Author: christianchristensen
Created: 2012-02-23 21:46:21+00:00
State: open

(re: @qsBryan)

Doing a PUT with the full object as well as individual fields… they all had the same result = NULL.

Here is the basic code that produces a NULL. I know the executeCURL function is working properly as it works for all other calls except PUT on resources.

(noteworthy: this same procedure *was* working...)

```PHP

'Cotton Bowl 2',
"groups" => array("aae24878-5c1d-11e1-919d-12313d2a2278"),
'location' => array(‘zip' => 75210)
);

$response = $oAP->executeCURL('/resources/339885b0-5e62-11e1-919d-12313d2a2278.json', 'put', $Location);
var_dump($response); echo '
';
```