How to update user using web services

How to update user using web services

by elmehdi elfaik -
Number of replies: 0

I am new to Moodle and I need to  to update the list of interests of a user with a Web service REST API,my code is :       "users[0][id]=" + URLEncoder.encode("2", "UTF-8") +

"&users[0][interests]=" + URLEncoder.encode("#okk", "UTF-8");

Can someone please guide me? thanks.

Average of ratings: -