You can use the same syntax based on a javascript object as in your server code:
MasterTrip.find(
{ filter: { include: ['froms', 'tos', 'trips'] } },
function(respoonse) {
});
URL- filter JSON . , URL , :
MasterTrip.find(
{ 'filter[include]': ['froms', 'tos', 'trips'] },
function(response) {
});