3 Replies Latest reply on May 23, 2017 12:48 AM by shengzhi

    Can change avatar with base64 image data url?

    shengzhi

      Hi,

      I want to crop a image and use this image to change my avatar with the REST API.

      Now I have a crop image tool, after cropping a image, I can get a base64 data url, like this:

      And I want to use this base64 data url to change my avatar.

      When I use postman to call API "/api/core/v3/people/{peopleID}/avatar" like this:

      I can change my avatar successfully, but I have no idea about how to use a base64 data url to change my avatar.

      Is there anyone can help?