Is there somekind of possibilty to change rest api data source end point.
I have a button which should call some data source by checking user personal data.
If(user.id == 0 )
invoke data source method (method1)
invoke data source method (method2)
Hope You can understand my question.