There are two built-in JavaScript methods for making an HTTP POST request that don't require the installation of a library or the use of a CDN. These methods are the FetchAPI, based on JavaScript promises, and XMLHttpRequest, which you can use to send data to a server.
Table of contents
How to Send a POST Request with the Fetch APIHow to Send a POST Request with XMLHttpRequestHow to Send a POST Request with AxiosHow to Send a POST Request with jQueryWrapping UpSort: