Difference bw these two api's

Hii,
thanks Camunda for providing such a wonderfull forum.I’m new in camunda.My Question what are the difference bw these two api’s
POST /process-definition/{id}/start
and
POST /process-definition/{id}/submit-form

thanks.

Hi @lalit.verma
Welcome to the forum!

I’ll try to help explain the difference
POST /process-definition/{id}/start
This just starts a process instance for a given process definition id

POST /process-definition/{id}/submit-form
The main difference with this one is that if you have added some form meta data (describing the variables via a generated form) it will do some validation on the input variables to ensure that they match the requirements specified by the form fields.

Thanks Niall