Issues SendToHTTP

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
mrblue
New user
Posts: 1
Joined: 04 Aug 2020, 21:40

Issues SendToHTTP

#1 Post by mrblue » 04 Aug 2020, 21:54

Dear all,

After pulling my hair for hours and doing research on this forum and externally, I'm finally writing you this message.

I'm trying to use SendToHTTP to send a message to my Telegram group, but I can;t seem to get it working.

If I paste my URL in a browser and hit enter, I get a test message:

Code: Select all

https://api.telegram.org/botAPIxxxxxxxxxxxxxxx/sendMessage?chat_id=IDxxxxx&text=Test
I've tried several ways to trigger the same command in Rules or the Command field, including but not limited to:

Code: Select all

SendToHTTP api.telegram.org,80,/botAPIxxxxxxxxxxxx/sendMessage?chat_id=IDxxxx&text=Test
SendToHTTP,api.telegram.org,80,/botAPIxxxxxxxxxxxx/sendMessage?chat_id=IDxxxx&text=Test
SendToHTTP api.telegram.org,80,"/botAPIxxxxxxxxxxxx/sendMessage?chat_id=IDxxxx&text=Test"
SendToHTTP api.telegram.org,80,/botAPIxxxxxxxxxxxx/sendMessage?chat_id=IDxxxx&text=Test
And all variances with port 443 (HTTPS)
This is the response I get in my Log:

Code: Select all

343133: Command: SendToHTTP
343135: SendToHTTP: Host: api.telegram.org port: 80
360801: HTTP : C008 Success! HTTP/1.1 200 OK^
Anyone who's able to help me with this issue?
Thanks!

TD-er
Core team member
Posts: 8752
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Issues SendToHTTP

#2 Post by TD-er » 05 Aug 2020, 00:22

Have you also tried to check the Tools => Advanced => SendToHTTP wait for ack ?

Post Reply

Who is online

Users browsing this forum: No registered users and 128 guests