robswc / tradingview-webhooks-bot

a framework 🏗 for trading with tradingview webhooks!
http://tvwb.robswc.me
GNU General Public License v3.0
603 stars 182 forks source link

405 Method Not Allowed #5

Closed alsopgroup closed 4 years ago

alsopgroup commented 4 years ago

I keep getting this on post messages HTTP Requests

POST / 405 METHOD NOT ALLOWED

alias-noa commented 4 years ago

This is what i'm getting too. So far i'm thinking it might be something to do with Windows 10. I need to try it on Ubuntu to verify this.

alias-noa commented 4 years ago

Okay I finally got through. It was the /webhook part in the webhook-bot.py file. On this line:

@app.route('/webhook', methods=['POST'])

I didn't realize you have to put /webhook after your ngrok address in the tradingview webhook box.

robswc commented 4 years ago

@alias-noa 's answer is correct. Will update the guide to include this.

alperoguz commented 3 years ago

Hello @robswc I am not using ngrok. Do I still need to use /webrook in TV?

sorry for flooding with couple of questions.