How to send message to telegram bot api
My worker is returning
{ok: false, error_code: 400, description: 'Bad Request: message text is empty'}
when I make an API call to Telegram.
However, I don't see any problems with my fetch request within my worker. What am I missing in my fetch function?
2 Replies
Try adding a
Content-Type: application/json
request headerlife saver man
the little things, always
thanks!