how to create custom form with duda custom widget?

Varinder Member Posts: 1

there is no issue creating a form, only problem is its's not working as it should be.

I followed these steps >

but submitted data not sending.

showing these errors😒

👉️ POST 404

👉️ Uncaught (in promise) SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON

Please help me fixing it.