Hi, After some investigation the python script is:
#!/usr/bin/env python import requests import simplejson as json url = "http://69.69.69.1:8000/OF/" of_command = {'method':'get_switches'} of_command_json = json.dumps(of_command, separators=(',',':')) headers = {'Content-type':'application/x-www-form-urlencoded'} r = requests.post(url,data=of_command_json,headers=headers) print "Status code:",r.status_code data = r.json() print len(data) print "data:",data This is the closest request to the one sent using "curl": curl -i -X POST -d '{"method":"get_switches"}' http://69.69.69.1:8000/OF/ But still not getting any information back from POX. Any help is welcome. Kind regards, Jorge