/tool/fetch - 6.x vs 7.x

Trying to send messages to Teams. Should be easy enough, no? Well, not so much. This exact command runs perfectly fine in ROS 7.14, but not in 6.49

/tool fetch http-method=post http-header-field="Content-Type: application/json" http-data="{\"text\": \"Test Message\"}" https://mycompany.webhook.office.com/webhookb2/UUID1@UUID2/IncomingWebhook/LONGSTRING/UUID3

We are not using ROS7 in production yet, so I never even thought to test it on that platform until today, since I have a pair of 2116’s on the bench for other testing.

So, what’s wrong with the command that it returns a “400 Bad Request” when run from ROS6?

Could be url encoding

Try changes:
@%40

And the other non plain characters inside text? Probably non-7-bit-ascii text?
Probably must be all urlencoded (the text part, not all) with my urlencode function.