From a0fad2a9cde29220143cdb22b5136bf8d531bfb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kov=C3=A1cs=20Bence?= Date: Fri, 17 Apr 2020 17:10:46 +0200 Subject: [PATCH] get ip --- endpoints.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/endpoints.py b/endpoints.py index 797dbc1..ecc887d 100644 --- a/endpoints.py +++ b/endpoints.py @@ -6,8 +6,6 @@ from flask_classful import FlaskView class IPEndpoint(FlaskView): def post(self): - """Ez kell neked""" - #{"ip": "172.20.lofasz", "uuid" : "nagy nigger pélók"} példa currentconsumer = request.json['ip'] redis_client.set('currentConsumer', currentconsumer) pass