Design & develop simple page can retrieve or access the data from erpnext database?

hi
How to access the erpnext table using simple page like .php are any other form.
thanks

Connect directly to MySQL or use the REST API

How to access using mysql??

http://lmgtfy.com/?q=mysql+php+connection

1 Like

Hi @rmehta ,
I’ve read https://frappe.github.io/frappe/user/guides/integration/rest_api.html

https://discuss.frappe.io/t/integration-example/9732?u=ninjas005

I am having trouble with REST API requests other than login.
The login request works fine.
after that, when I use other list or crud requests I am getting 403 forbidden error (i tried with python,php, curl & angular).

Please give any source code if available.

I am also facing the same thing, can anyone provide any pointer on this please ?

run bench --site your_site_name mysql