Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using URL in Calling APIs #77

Open
sijithskumar opened this issue Mar 9, 2021 · 0 comments
Open

Using URL in Calling APIs #77

sijithskumar opened this issue Mar 9, 2021 · 0 comments

Comments

@sijithskumar
Copy link

I tried using
image_path = input('URL: ') and

headers = {'Content-Type': 'application/json', 'Ocp-Apim-Subscription-Key': SUBSCRIPTION_KEY}

My intent was to pass on any url of any image from the internet as an input and to display the description of the image. It wouldn't work. OBVIOUSLY. Is it possible to make it work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant