Send request from frontend to backend

Takes the input from the text field when the 'send request' button was pressed and sends it to the backend