CallAPI
Generic method for calling S2S API services.
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
var service = "event";
var operation = "SEND";
var serviceData = {};
serviceData.toId = "02d4e872-d848-4bbe-3a69-137639909b31";
serviceData.eventType = "etype";
serviceData.eventData = {};
var res = bridge.callAPI(service, operation, serviceData);
var service = "event";
var operation = "SEND";
var serviceData = {};
serviceData.toId = "02d4e872-d848-4bbe-3a69-137639909b31";
serviceData.eventType = "etype";
serviceData.eventData = {};
var res = bridge.callAPI(service, operation, serviceData);