AnsweredAssumed Answered

DevTest API Response Only Returning XML

Question asked by SamManiscalco4211171 on Feb 23, 2016
Latest reply on May 24, 2016 by yannislionis



I'm trying to call the DevTest API and I am able to do so, BUT I can only ever get the response as xml - even when using the DevTest Swagger UI and selecting the json content type. Can anybody provide any insight? I am making the call as follows:







                type: 'GET',              
                dataType: "json",
                contentType: "application/; charset=utf-8",
                url: 'http://' + server + ':1505/api/Dcm/VSEs/VSE',
                headers: {
                    'Authorization': "Basic " + btoa("username" + ':' + "password")