Use a REST Client

◷ Reading Time: 2 minutes

FlexRule Server-hosted REST APIs work like most other REST API services.

There are different reasons to make a service call:

  1. Logic execution
  2. Managing resources
  3. Monitoring

You can create your own client to call the REST API service.

You REST client can be built in your preferred platform (.NET, JavaScript, PHP etc.).

Execute the Logic

To Execute logic on FlexRule Server an application should:

  1. Authenticate itself by getting an authentication token.
  2. Execute the service by calling the Service Url.

Full details for this process can be found here.

Use an SDK

FlexRule Server provides two Client SDKs to call services out-of-the-box:

  1. JavaScript Client.
  2. .NET Client.

Samples

You can use our RunTime Samples to try out service execution.

Updated on June 11, 2020

Was this article helpful?

Related Articles