Beispiel #1
0
 def POST(self, req):
     print '-----into Fileops POST--------'
     user_info = ['test']
     filepath='/tmp/haha/a.txt'
     fop = FileOp(user_info, filepath, req)
     ret = fop.create_folder()
     print 'into get ----------------'
     
     #return HTTPOk(body ='TestController Running',content_type='application/json')
     print ret
     return ret