-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Request]: Add backend example of how to use upload plugin #1855
Comments
@gregg-cbs strapi/strapi#15524 is what you are looking for. Also if you have any more questions. |
You are a busy person @Boegie19 and I appreciate the response. Hopefully the ability to do this will become available. It would then be nice if the documentation could have an alert that says this is not currently possible? |
It is posible if your copy past the util that they wrote there. to transform the data it expects. |
@pwizla before we document this strapi would first need to deside to accept the PR or close it. |
Hi, |
Yes it is mentioned there. thank you :) |
Hi, I think would be great to have the following snippet on the upload plugin documentation. Saving a file on api controller:
|
Thank you for the suggestion, @Zetjen. I've merged the PR. |
Summary
In the documentation for upload plugin:
https://docs.strapi.io/dev-docs/plugins/upload#using-a-provider
There are examples of how to use this via rest api but no examples of how to access or use this plugin from the backend. In a controller of lifecycle.
Why is it needed?
It would be nice to know how to interact with this plugin from code.
Suggested solution(s)
Add a code example of how to access the upload plugin from a controller.
Related issue(s)/PR(s)
No response
The text was updated successfully, but these errors were encountered: