404 error while accessing api method on telegram box

I just created a telegram bot to finish the task for school regarding the integration of ifttt and telegram.

My problem is that when the browser tried to use the Telegram api method, it returned me the following line: {"ok": false, "error_code": 404, "description": "Not Found"}

I use this link to access my bot: https://api.telegram.org/botToken/getUpdates

The bot icon is valid

Can you help solve the problem?

+6
source share
1 answer

You need to add the word bot before botToken.

Token: xxx

The resulting url to call: https://api.telegram.org/botXXX/getMe

+9
source

Source: https://habr.com/ru/post/1013202/


All Articles