POST requests without a resource are not currently supported by the "user" service

I’m getting the above error with this request (using the included “calendar” app):

POST /rest/user

I’m not sure what the ‘resource’ is. Is this a setting in the backend?

You are receiving this error for two reasons. To perform a POST to user, you must specify which component of the user service you’re providing data for: device, password, profile, session…or custom? Also, since it is a POST, you must provide a resource to POST: content for the call to be passed.

E.g., to change the phone number of a user,

POST /user/profile

{
"phone":"4045551234"
}

http://localhost:80/rest/user/profile