Use a variable in a REST request

I receive data from external source by REST API.
But I want restrict number fetched data allign params choosed by user.
To make it, I want put variables to URL in connector.
If there are some way to do it?