Hi everyone
I want to integrate erpnext with angular. before i start I need to test erpnext rest api using postman.
I could logged in to erpnext using postman by http://192.168.1.63/api/method/login?usr=myEmail&pwd=myPassword
I got the following response { "home_page": "/desk", "message": "Logged In", "full_name": "Web Master" }
now I can access list of items, and customers
by sending get request to ``http://192.168.1.63/api/resource/Customer```
but I can’t create a customer using POST request with body
{
"data": [
{
"name": "غلام "
}
]
}
I changed body to the following format but still same error