79195329

Date: 2024-11-16 14:24:47
Score: 0.5
Natty:
Report link

If you are using slackeventsapi python package along with ngrok, then you don't need to add following piece of code-

@app.route('/slack/events', methods=['POST'])
def get_events():
  # print(request)
  return request.json['challenge']

You app should work fine without above piece of code. I have a similar app in python flask used with ngrok.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ajay Dwivedi