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:46 +02:00
parent c6af41610c
commit a0fad2a9cd

View File

@ -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