It seems that any API method that requires the user to be logged in returns a 401, even though it looks like I login correctly.
Here's the command I use to log in, which returns with a JSON object containing a session ID.
curl --verbose -b cookies.txt -c cookies.txt -F "login=username" -F "password=password" https://api.cloud.appcelerator.com/v1/users/login.json?key=mykey
And when I call the following I can see the session id in the header request e.g.
> Host: api.cloud.appcelerator.com
> Accept: /
> Cookie: _session_id=3uu4Ar4dVITzqRg-xckfhjfoVOk
curl --verbose -b cookies.txt -c cookies.txt https://api.cloud.appcelerator.com/v1/users/show/me.json?key=mykeyI'm at a loss as to why this is happening.