Hi Dojo,
I have a small question related to the DataMiner Web Services. According to the current documentation, the Web Service API supports JSON:
Based on this, I assumed that responses from available endpoints will return a response in a JSON format. However, checking the content type of the response, it seems that the response is available only in XML format:
Maybe I am missing an extra configuration. Please could you let me know if the DataMiner Web Service API is able to provide responses in JSON format?
Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 10th July 2023
Hi Miguel,
You can add the “Content-Type” header to your request with the value “application/json” to get JSON responses.
Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 10th July 2023