Dear Experts,
Using the REST Client ‘Postman’ I am able to do this.
But I am getting the error message ‘TypeError: Expected String or Buffer’ when trying to create a customer using the Poster tool. Please guide me what went wrong?
URL: http://5.xxx.xxx.xxx/api/resource/Customer
Content Body:
data={
“customer_name”: “Hari113”,
“customer_group”:“Commercial”,
“customer_type”: “Company”,
“territory”: “India”
}
Headers:
Content-Type : application/json
Accept: application/json