Send dropdown item string to backend


I have a velocity page where I am I’m able to populate a dropdown dynamically. These fields in the dropdown menu are retrieved from an SQL database. What I’m trying to do here is take the string of the selected dropdown and send it to my backend. To clarify, I am able to get the string in javascript.

This is where I am having difficulty. How do I send the information over to my backend? I have read this article on the dropdown AUI item. However, the article does not really send me down a concrete path.

Please advise!

One way you can achieve this is providing a REST endpoint to send the selected string to. Take a look at Developing a REST service plugin.