get ip
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Kovács Bence János 2020-04-17 17:10:16 +02:00
parent f907fcdf05
commit c6af41610c
1 changed files with 3 additions and 1 deletions

View File

@ -7,5 +7,7 @@ class IPEndpoint(FlaskView):
def post(self):
"""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