Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input in JSON format not working #121

Open
bokoth opened this issue Jul 24, 2020 · 0 comments
Open

input in JSON format not working #121

bokoth opened this issue Jul 24, 2020 · 0 comments

Comments

@bokoth
Copy link

bokoth commented Jul 24, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant