I just audibly shouted "PISS OFF" at my monitor after looking up how to include JSON in POST requests in urllib2, and seeing answers that keep recommending another fucking library. 😡
@TrollDecker is it enough to just put the json string (json.dumps) in the urlopen data parameter?
@TrollDecker @impiaaa you need to know the POST parameter, then hand a dictionary to urlencode() which you hand in as data argument: data=urlencode({'param': jsondata})
I think