Closed keoliva closed 7 years ago
Example code request? You should be able to get https://apis.scottylabs.org/directory/v1/andrewID/odb
Right. I just don't know how to do the request with Flask.request. What I'm doing now times out:
request = request.get('https://apis.scottylabs.org/directory/v1/andrewID/' + andrewID)
Kayla where can I find you to help?
What is the type of request
? It looks like you're using the requests
library, in which case it would be requests.get(...)
to begin with? Your code otherwise looks fine.
It's a GET request. I've resolved my issue!
Hacker name(s): Kayla Physical location: Operating system(s): Programming Langugage: python
I get an Internal Server Error. "The server encountered an internal error and was unable to complete your request." I'm trying to use the ScottyLabs director api, and make a simple GET request.
Pls halp!