If you want to use the API to update the Avatar, you can check out the following services under /people,
1 person found this helpful
For your image, you'll need to truncate the following part of the string when making your request:
Thanks for you answer. I have solved this problem.