Custom Web Services

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

const query ="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 ="Users").body(obj);

Last updated