[solved] Streaming data - parse-server

I have followed this tutorial,

However, i am not able to view the streamed data

looking at the below i should get a 200 Ok event but i do not.

From the same video, at t=384, it looks like i need to setup a parse-server in python. How can I do this.

can you give more context? it looks like at that timestamp a video was about web3.py and in the other video about using ngrok

Hi cryptokid, the first video is what i want to do, use moralis streams. I have followed this successfully but I cannot view the streamed data, the video skims over ngrok. The second video I have found trying to diagnose why I cannot view the streamed data. The shows that I should get an 200 OK event (t=529). however I dont get this. It also talks about parse-server at t=384 which might be what i am missing. That said I am only looking to see the streamed data from the fist video.

The only additional thing i am doing I am using flask as shown below which I thought was required to view the streamed data locally.

from flask import Flask, request

app = Flask(name)

@app.route(’/webhook’, methods=[β€˜POST’])
def webhook():
data = request.get_json()
print(data)
return β€˜OK’

if name == β€˜main’:
app.run()

what did you do from these steps?

  • started a web server with flask to listen for incoming webhook requests
  • installed ngrok
  • started ngrok to redirect external traffic to current flask server
  • used the webhook url from ngrok in the streams api config for a stream id
  • enabled the stream if it was not enabled

Hi, I found my issue. i hadn’t set demo == False in my json.

1 Like