def nest_apicalls(): if request.method == 'POST': data = request.get_json() print "POST" sessionId = nestApp.data_handler(data) return sessionId + "\n"
def apicalls(): if request.method == 'POST': data = request.get_json() print "POST" sessionId = myApp.data_handler(data) return sessionId + "\n"
def apicalls(): if request.method == 'POST': data = request.get_json() print(data) sessionId = myApp.data_handler(data) return sessionId + "\n"