# Flowcoder is now using http://pygments.appspot.com/ to get pygments code syntax highlighting require 'net/http' require 'uri' lang = 'python' code = 'print "Hello World"' request = Net::HTTP.post_form(URI.parse('http://pygments.appspot.com/'), {'lang'=>lang, 'code'=>code}) puts request.body