title: redis, python and a storing information
body: <p>So I am working on a simple webserver based on Flask which stores and later displays some information I recieve with a post call.</p>
  
  <p>anyway I the information I recieve is stored like this:</p>
  
  <pre><code>@app.route('client/&lt;client_id&gt;/', methods=['POST'])
  def status(client_id):
  
      r_server=redis.Redis("127.0.0.1")
  
      jsonobj=request.data
      data=json.loads(jsonobj)
  
      result = {
          'client_id': client_id
          'current test': data[0]
          'status': data[1]
      }
  
      return
  </code></pre>
  
  <p>now what I want is save this into redis while keeping the client_id current test and status linked together.</p>
  
  <p>is there an easy way to store it in redis and recieve it later and I can look op with client_id?</p>
  
  <p>regards</p>