The most popular answers here do not show how to get data back from the POST. The main reason for doing event bubbling is to get the speed since the code needs to traverse the DOM tree only once. Also, the popular "fetch" solutions do not work in the latest version of Chrome when sending data to the latest version of NodeJS unless you pass headers and also unwrap the response.json() promise. Solutions for CORS Errors A. Check request.method == "POST" to check if the form was submitted. Sping-framework doesnt support GET with the body. App is the container that has Router & navbar. Looks like there is a case mismatch in your code: // Verify case sensitive errors in your code for example: operationId: addTestconf // in your YAML function name: addTestConf //in your NODE.js controller and/or services XMLHttpRequest doesnt support GET with the body. A message-body MUST NOT be included in a request if the specification of the request method does not allow sending an entity-body in requests. According to the HTML standard, you can not.The only valid values for the method attribute are get and post, corresponding to the GET and POST HTTP methods.