Rest api - server error

Hey, im trying to pass some attributes to the api, that creates new docs with post method.

this is my html form to create a new doctype ‘Customer’:

   <form action="http://localhost:8000/api/resource/Customer" method="POST" name="form">

	<input type="text" name="data" value='{"customer_name":"carlos"}'>
	<input type="submit" name="submit">
	
</form>

Im just using it to create a new doc. I am logged in, with the Administrator user, but it’snt working :confused:

Some help please :frowning:

this is the error :confused:

Seems issue with parameters. Please check terminal / browser console for traceback.