#azharul-islam_api

1 messages ¡ Page 1 of 1 (latest)

astral roostBOT
golden valeBOT
#

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.

astral roostBOT
#

👋 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.

static kernel
vocal musk
#

I don't need to download the file, I want to show the file on client side, for example using <img src=""> like that

static kernel
#

No it doesn't work like that, and I don't recommend you embed your secret key in a webpage.

vocal musk
#

is there any way that, I can show the image on client. Maybe using server side also??

static kernel
#

You can download the file from your server first, and then display in your frontend.

vocal musk
#

how can I download the file on server-side??

static kernel
#

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

vocal musk
#

so, that request will download the file into my server side??

static kernel
#

Yes

vocal musk
#

okay, then let me try that