The only way to pass data using a GET
method is through query params (as you are doing):
Endpoint:
GET https://localhost/productos?nombre_producto=un_nombre&continente=un_continente
If what you want is to "hide" that information from the view, it only occurs to me to make the call by POST
sending the parameters in the body.
Endpoint:
POST https://localhost/productos
Headers:
Content-type: Application/json
Body:
{
"nombre_producto" : "el nombre",
"continente" : "un continente"
}
Obviously, it is not recommended to make calls POST
just to consult data, it is recommended to make them using GET
through query params.