Telegraf http_response - XML POST data in body

We need to test an endpoint in telegraf by submitting a XML sample document for processing, then collecting the response code. Our attempts have been unsuccessful - are there limitations as to what the body content can be, or formatting requirements, etc for posting XML?

I don’t know of any limitations, but you will have to be careful with TOML encoding and escape characters.