RemoteWorkflowCall createDefaultRequest

From Catglobe Wiki
Jump to: navigation, search


RemoteWorkflowCall_createDefaultRequest

Create a request with the default settings for RemoteWorkflowCall

Syntax

RemoteWorkflowCall_createDefaultRequest(string site);

Arguments

string site: Url of the site to call. E.g. cg.catglobe.com

Return type

HttpRequest

Example

string site = "cg.catglobe.com";
HttpRequest hr = RemoteWorkflowCall_createDefaultRequest(site);
RemoteWorkflowCall wfc = new RemoteWorkflowCall (15594505, "adminadmin", "cg", {"ABD"});
wfc.Call(hr);