Hi there,

and once again stress with the custom sensor. In the postdata there is no <> allowed?

my postdata will be malformed to {} style. But my endpoint will not accept that because it has to be text/xml.

"Using HTTP POST When sending configurations and commands to the codec, it is important that the HTTP header Content-Type is set to text/xml, i.e. Content-Type: text/xml. The body of the POSTshould contain the XML content."

Custom HTTP Headers = Content-Type: text/xml

Any ideas?

Sebastian


Article Comments

Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.

Yeah we don't allow < and >, as it would mess around with our XML configuration, unfortunately. You'd need to use a PowerShell script instead to make these kinds of queries :( But the result evaluation needs to be done within that one as well. Sorry to be the bearer of bad news here.


PRTGapi | Feature Requests | WMI Issues | SNMP Issues

Kind regards,
Stephan Linke, Tech Support Team


Mar, 2019 - Permalink