Post api registration user


api registration return $this->invoke(‘Cockpit\Controller\RestApi’, ‘saveUser’);

Warning : Illegal string offset ‘_modified’ in / on line 91
{“error”:“User password required”}


You have to send user as an array. So /api/public/signup?user[user]=username&user[email]=... should work.

See also: cockpit/RestApi.php at next · agentejo/cockpit · GitHub

And you shouldn’t send passwords as get parameters. They might pop up in log files, browser histories or analytics data.

And please provide some more info when asking for help. I had to read your previous post to understand, what you are doing.