|
|
1.1 wischi 1: def getFMPro(url, user=""):
2: import os
3: if user =="":
4: f = os.popen("curl -s 'http://localhost:8889/"+ url+"'","r")
5: else:
6: f = os.popen("curl -s -u "+user+" 'http://localhost:8889/"+ url+"'","r")
7: return (f.read())