Custom Web Services

The table query's wire.data.select will work with custom web services. However, an alternative syntax can also be used for creating calls to custom web services using the wire.data.call method and it's associated param method for any parameters that the web service method may require.

const query = wire.data.call("Users")
    .param("userName", "apeters");

To add a custom object to a web service call that will be sent in body of the call, use the body method.

const obj = {userName: "apeters"};
const query = wire.data.call("Users").body(obj);

Last updated