• Hi,

    Thanks for this amazing plugin.

    My question is: I saw your plugin added the simple_local_avatars to the rest API but I don’t know how to make it work. Would you mind giving me an example? Or how could I implement it in an external plugin? I’m developing a mobile app but I’m not familiar with PHP.

Viewing 1 replies (of 1 total)
  • Hi @simaru30,

    You can make a get request to retrieve a user, the simple local avatar data is included in the response. For example with 123 as the user ID.

    
    GET https://example.com/wp-json/wp/v2/users/123
    
Viewing 1 replies (of 1 total)
  • The topic ‘How can I change user’s avatar via Rest API?’ is closed to new replies.