Add a way to send params to the endpoints