What is the difference between post api call and form submission with post method?
There are multiple ways to submit a form from the browser: HTML form, submit button, user presses submit button, no Javascript involved. HTML form in the page, Javascript gets DOM element for the form and calls .submit() method on the form object. Ajax call using the XMLHttpRequest interface with the POST method and manually sending … Read more