WordPress plugin url for form submit

It doesn’t need a new submit URL, most of the plugins submit the form on the same page(the one on which the form was rendered), then before rendering the form they check if there is submitted data present. Then for eg. if data is present then they have to show a thankyou message & skip rendering the form, if there is no data present they will just render the form

This logic of course differs a lot