Code: Select all
/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
So, what's wrong with the command that it returns a "400 Bad Request" when run from ROS6?