This commit is contained in:
parent
c6af41610c
commit
a0fad2a9cd
@ -6,8 +6,6 @@ from flask_classful import FlaskView
|
|||||||
class IPEndpoint(FlaskView):
|
class IPEndpoint(FlaskView):
|
||||||
|
|
||||||
def post(self):
|
def post(self):
|
||||||
"""Ez kell neked"""
|
|
||||||
#{"ip": "172.20.lofasz", "uuid" : "nagy nigger pélók"} példa
|
|
||||||
currentconsumer = request.json['ip']
|
currentconsumer = request.json['ip']
|
||||||
redis_client.set('currentConsumer', currentconsumer)
|
redis_client.set('currentConsumer', currentconsumer)
|
||||||
pass
|
pass
|
||||||
|
Reference in New Issue
Block a user