How to get the request parameter without sending to the server in laravel

I am having an issue that I am trying to resolve.
I use laravel 6 + php.
I need to get the http request, without sending it to the server.
this is the html
enter image description here
this is the JS
enter image description here

Is their a way to get the request and put it in parameter without sending it to the server? I need the request