I was created new Web Form called (Bio Data) & i wants to pass data html to erp through web form using ajax() but i didn’t get the Rest API for this particular webform.
If anyone do this earlier please tell me the process/steps or suggest me how i’ll do this.
If the webform is made based on a doctype, the data will be automatically saved in the doctype.
And if you want to save some data to other doctype, you can use the js or py file in that doctype directory. No need to use REST.
You can use frappe.new_doc or frappe.db.set_value or other frappe api.