An HTTP request can carry data from the client to the server in many different ways. Each of the following sections illustrate how that data can be accessed on the server, with examples of client side code which attaches the data. Most can be used in combination with each other.
The data is always text and will need to be parsed correctly depending on its format. The following examples show you Express.js request handlers, followed by example axios.js client requests.