#azharul-islam_api
1 messages ¡ Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- azharul-islam_api, 1 hour ago, 26 messages
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1260125795654041601
đ Have more to share? Add details, code, screenshots, videos, etc. below.
https://docs.stripe.com/api/files/object#file_object-url you need to use your live secret API key to download the file from this URL
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I don't need to download the file, I want to show the file on client side, for example using <img src=""> like that
No it doesn't work like that, and I don't recommend you embed your secret key in a webpage.
is there any way that, I can show the image on client. Maybe using server side also??
You can download the file from your server first, and then display in your frontend.
how can I download the file on server-side??
You need to use your private API key to send a request. A curl command format will be
curl FILE_URL -u YOUR_API_KEY
so, that request will download the file into my server side??
Yes
okay, then let me try that