Add Customer using API via POSTER REST Client

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?


Content Body:

“customer_name”: “Hari113”,
“customer_type”: “Company”,
“territory”: “India”


Content-Type : application/json
Accept: application/json add to the end of your URL, …/Customer?data={“customer_name”: “Hari113” …}


Great! It works! Thank you very much!

When it comes to solving advanced code questions for the forum users, You are on fire this morning :slight_smile:
Much Respect.

1 Like

@System19 thanks! I’m so glad!

1 Like