Getting form data without reloading page using axios

So I am trying to build a sort of checkout type app, and I want to send the data from the form (it will be a barcode) to a route so that I can respond with the correct product from my database and update my table. I am using axios to send a post request to the /checkout route, but when I check req.body, it is empty. How am I able to get the data? Is axios a good option, or is there a better one? I appreciate any responses.

Here is my code with axios: axios code

and here is my simple node route: node route