Stack Exchange network consists of 178 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Craft CMS Stack Exchange is a question and answer site for administrators, end users, developers and designers for Craft CMS. It only takes a minute to sign up.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Can you use the Element API plugin to utilize UsersController's actionUploadUserPhoto and actionCropUserPhoto methods?
Not natively. The Element API plugin provides a "read only" API to Craft's controller endpoints. Both actionUploadUserPhoto and actionCropUserPhoto request POST/write requests.
You could fork it and add POST/write functionality to the plugin/API, though.
Required, but never shown