I found the rest api for openemr on github.
I referred the instructions and “how to” given in the webmaster.pdf along with the zip.
After making changes when I tried to update my database and got error as “Database update failed”.
Any help appreciated.
Hey thanks fsgl, I am able to update it now.
But while trying to access the login page
e.g my-openemr-url/openemr/medmasterproapi/login.php, I do not get any login page, and if I hit the below url…
my-openemr-url/openemr/medmasterproapi/login.php?auth=login&site=default
I got this error as username/password incorrect
There was a new more secure mechanism brought into OpenEMR that would need to be worked into the code for it to work on more recent OpenEMR versions:
(note there’s been more refinement on this in OpenEMR since that commit, but in that commit, it gives you a gist of authentication changes that need to be made in the api)