'Strapi upload plugin: Change upload endpoint
I'm trying to change the upload request URL from /upload to /upload-safe when an image upload is being performed on the Strapi admin page in a collection/single type. I'm using the aws-s3 upload plugin.
I am trying to accomplish something like this, but I am having trouble with the last part of the blog:
That's it! Now when you hit /upload-safe the normal upload strategy will be performed as long as the image is safe.
I understand it is possible to send the request from another service (frontend or backend) to /upload-safe instead of /upload when I want to upload an image to S3, but how can I do it from within the Strapi admin page?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
