[SOLVED] Easify V4 API - Get responses as JSON
If you want to receive responses to Easify V4 API calls as JSON instead of XML, simply add an accept header to your HTTP request as follows:
accept: application/json
or if coding in c#.Net:
using (var client = new HttpClient())
{
client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
}
Regards - Richard (Easify Developer)