1

Can you use the Element API plugin to utilize UsersController's actionUploadUserPhoto and actionCropUserPhoto methods?

1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.