예제 #1
0
def nest_apicalls():
	if request.method == 'POST':
		data = request.get_json()
		print "POST"
		sessionId = nestApp.data_handler(data)
		return sessionId + "\n"
예제 #2
0
def apicalls():
    if request.method == 'POST':
        data = request.get_json()
        print "POST"
        sessionId = myApp.data_handler(data)
        return sessionId + "\n"
예제 #3
0
def apicalls():
	if request.method == 'POST':
		data = request.get_json()
		print(data)
		sessionId = myApp.data_handler(data)
		return sessionId + "\n"