radboudp Posted December 22, 2014 Share Posted December 22, 2014 Dear all, When using the webservice with output_format=JSON the reponse content-type is 'text/html' but should be 'application/json'. Stangly enough, the PHP code file WebserviceOutputJSON.php has the following method for the content-type: public function getContentType() { return 'text/html'; return 'application/json'; } Obviously, the second return statement is never reached. In my opnion the first return statement should be removed. Does anyone know where to post a bug report? Regards, Radboud Link to comment Share on other sites More sharing options...
Recommended Posts