com_api icon indicating copy to clipboard operation
com_api copied to clipboard

input in JSON format not working

Open bokoth opened this issue 5 years ago • 0 comments

json_issue png

According to the code in the attached file components/com_api/libraries/plugin.php com_api should support JSON input, but this is not the case

$app->input->server->get('CONTENT_TYPE')

returns applicationjson instead of application/json meaning that clause is never executed, could you please fix this?

bokoth avatar Jul 24 '20 21:07 bokoth