Description
Hi.
I've got deleting participants/properties working. I had some errors
with my request.
Now I am curious why does propeties request ->
DELETE
{wookie}/properties
{params: instance_params, propertyname}<- create new property in database, if it doesn't exist.
So -> i create request like (from the php framework i am working on):
$request = '?api_key='.$this->getConnection()->getApiKey();
$request .= '&shareddatakey='.$this->getConnection()->getSharedDataKey();
$request .= '&userid='.$this->getUser()->getLoginName();
$request .= '&widgetid='.$widgetInstance->getIdentifier();
$request .= '&propertyname='.$propertyInstance->getName();
So if, in the first request propertyname doesn't exist, Wookie returns
'404 not found' BUT creates property, with value 'NULL'. On second
request the same property is correctly deleted.
Obviously it should not do that, just return 404.