title: Python websocket, is there a way to intercept a request made by another user?
body: <p>I was playing with <a href="https://mobti.me/example" rel="nofollow noreferrer">mobti</a>, and I noticed that when I add an user what I'm really doing is sending a json with that user. See follow example.</p>
  <p>Json in the request.</p>
  <pre><code>{&quot;type&quot;:&quot;mob:update&quot;,&quot;mob&quot;:[{&quot;id&quot;:&quot;v63ghnghgn8&quot;,&quot;name&quot;:&quot;test2&quot;},{&quot;id&quot;:&quot;qlxy16bl9q&quot;,&quot;name&quot;:&quot;test 1&quot;},{&quot;id&quot;:&quot;zxu28bb3ar&quot;,&quot;name&quot;:&quot;test4&quot;},{&quot;id&quot;:&quot;03kys4hqrjmm&quot;,&quot;name&quot;:&quot;test 5&quot;},{&quot;id&quot;:&quot;w9osegszlzm&quot;,&quot;name&quot;:&quot;test 3&quot;},{&quot;id&quot;:&quot;od6hattxo3&quot;,&quot;name&quot;:&quot;test6&quot;},{&quot;id&quot;:&quot;d972agvwux&quot;,&quot;name&quot;:&quot;test 7&quot;},{&quot;id&quot;:&quot;y65txgk19p&quot;,&quot;name&quot;:&quot;example stackoverflow&quot;}]}
  </code></pre>
  <p>So I was able to do an script in python to send a long update with a lot of users.</p>
  <pre><code>url = &quot;wss://mobti.me/example&quot;
  ws = create_connection(url)
  ws.send(json.dumps(data))
  result =  ws.recv()
  print (result)
  ws.close()
  </code></pre>
  <p>Being <code>data</code> a big json with a lot of names.</p>
  <p>So now, here's de question, I was wondering if another user send a request with a new data, could I intercept that request? and how? I'm interested in intercepting the request and sending a new one. (It doesn't matter if I can't reject their request). Notice that this website isn't mine, so I can't intercept that request from inside (and that's not what I'm looking for)</p>
  <p>Thanks in advance!</p>