edit: I’m using the url "1/account/update_profile_image"
edit2: I just read in the API Status “Profile Image and Background Image Uploads may return a 500 error for certain user accounts.”. I’ll check back later, but if you think sending the dataURL wont work, please tell me.
Thanks for your time 