• Resolved paula111

    (@paula111)


    the avatar doesn’t change:
    rotas:
    url_/wp-json/wp/v2/users/me

    params:
    simple_local_avatar
    media_id

    the field is returned null:
    “full”

Viewing 1 replies (of 1 total)
  • Plugin Support Darin Kotter

    (@dkotter)

    @paula111 A couple questions:

    1. Are you making a POST request to that endpoint, not a GET request?
    2. For the media_id field, where does that come from? That ID should correspond to an attachment ID within WordPress otherwise it won’t work
Viewing 1 replies (of 1 total)
  • The topic ‘change avatar using rest api’ is closed to new replies.