Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Full Media URL in Strapi

Tags:

strapi

The Strapi API responds the media URLs as something like "url:'/uploads/thumbnail.png'". I would like to get the complete URL that links to my file as value for "url". For example: "url:'https://example.org/uploads/thumbnail.png'"

The documentation also shows the full URL as response. How can I achieve this?

like image 275
Rimbok Avatar asked Oct 25 '25 22:10

Rimbok


1 Answers

The full URLs come from using an upload provider such as AWS-S3 or Cloudinary. The local provider doesn't support full URLs at the moment.

like image 193
Rimbok Avatar answered Oct 28 '25 03:10

Rimbok



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!