Simon Willison’s Weblog

Subscribe

Is it possible to make API calls without cURL installed?

My answer to Is it possible to make API calls without cURL installed? on Quora

Yes:

$ python
>>> import urllib, json
>>> json.load(urllib.urlopen("http://reddit.com/.json"))

This is Is it possible to make API calls without cURL installed? by Simon Willison, posted on 17th October 2010.

Next: What does an ideal Django workflow setup look like?

Previous: What is the best way to hire Solr developers?