@anji you can follow @Niall video tutorial
https://docs.camunda.org/manual/latest/reference/rest/task/post-complete/#example
https://blog.camunda.com/post/2015/08/start-and-complete-process-with-rest-api/