I'm attempting to build a little script that will pull elevation data from the USGS's Elevation Point Query Service.
I've used urllib and requests and both hang. I've tried passing parameters and hardcoding and both hang. curl hangs. wget hangs. However when I use postman it magically works. But only inside postman. When I copy the python code produced by postman and run it, it hangs. At this point, I have no idea why it won't work outside postman. For reference, here's the exact code postman produces:
import requests
url = "http://nationalmap.gov/epqs.php"
querystring = {"x":"-75.981746", "y":"36.389272", "units":"meters", "output":"js