get ip
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kovács Bence János 2020-04-17 17:10:16 +02:00
parent f907fcdf05
commit c6af41610c

View File

@ -7,5 +7,7 @@ class IPEndpoint(FlaskView):
def post(self): def post(self):
"""Ez kell neked""" """Ez kell neked"""
#redis_client.set('currentConsumer', currentconsumer) #{"ip": "172.20.lofasz", "uuid" : "nagy nigger pélók"} példa
currentconsumer = request.json['ip']
redis_client.set('currentConsumer', currentconsumer)
pass pass