Unable to get API to work. Help needed in to register a client and access token

Hi
I cannot get the api to work:
I have a non-docker installation on Ubuntu (5.0.2)

did this:
Enable this API service in OpenEMR menu: Administration-Globals-Connectors-“Enable OpenEMR REST API”

when I call
curl --insecure -X POST -H ‘Content-Type: application/json’ ‘http://15.206.189.72/openemr/apis/api/auth
-d '{
“grant_type”:“password”,
“username”: “TYF-admin-88”,
“password”: “TYF-admin-88”,
“scope”:“default”
}

In response I am getting this-

404 Not Found

Not Found

The requested URL was not found on this server.


Apache/2.4.52 (Ubuntu) Server at 15.206.189.72 Port 80

And when I call http://15.206.189.72/openemr/apis/api/auth , the response I get is “The requested URL was not found on this server.”
I get a 404
Help needed to setup openemr and get api to work

One thing that really helped me with getting the API to work was using POSTMAN. There isn’t a whole lot of information here, but I assume you are at the stage where you are granting access to a client?

This might help for what you are trying to do:

@Shriniwas_Uplanchwar check your .htaccess file is working or not