Hi @HHjAh , Thanks for using Microsoft Q&A Platform.
Please make sure you are using correct subscription key or API endpoint.
I have reproduced this everything works well on my end. Here's the CURL command again for your reference please try this:
curl "https://api.bing.microsoft.com/v7.0/images/search?q=microsoft" -H "Ocp-Apim-Subscription-Key: YOUR_SECRET_KEY"
Replace YOUR_SECRET_KEY
with your actual subscription key. If the issue still persists, I would recommend regenerating your subscription key in the Azure portal and try again.
I hope this helps.
Regards,
Vasavi
-Please kindly accept the answer and vote 'Yes' if you feel helpful to support the community, thanks.