Hi all,
I cannot get the api to work:
I have a non-docker installation on Ubuntu (5.0.2)
https://XXXXXXXX/openemr/ and it works flawlessly.
did this:
Enable this API service in OpenEMR menu: Administration-Globals-Connectors-“Enable OpenEMR REST API”
but when I start by calling
https://XXXXXXXX/openemr/tests/api/InternalApiTest.php
I get an empty page as response.
when I call
curl -X POST -H ‘Content-Type: application/json’ https://XXXXXXXX/openemr/apis/api/auth’
-d ‘{
“grant_type”:“password”,
“username”: “ServiceUser”,
“password”: “password”,
“scope”:“site id”
}’
I get a 404…
Do I have to install something else?
Kind regards,
van Dijk