Call External Web API

platform.buildCallExternalWebAPI("POST", url);


//Available methods to build a web call:
.dataKey(String dataKey) 
.eventName(String eventName) 
.value(Object value) 
.contentType(String contentType) 
.testResponseCode(int testModeStatusCode) 
.testResponse(Object testModeResponse) 
.headers(Object headers) 
.basicAuth(String username, String password)
.xHubSignatureAuth(String secret)