It looks like you're new here. If you want to get involved, click one of these buttons!
will this work or am i missing anything?
get_data
1. I placed order through API.
2. url looks fine for me.
3. Based on my understanding modified the code a little, will this work or am i missing anything?
@app.route('/test-postback', methods=['POST'])
def get_zerodha_postback():
print('called method')
try:
postback_raw = request.get_data()
print('Postback', postback_raw)
return '200'
except Exception as e:
print(e)
return "1000"
get_data
looks fine well.