BackendRequester
Defines methods sending requests to PrivMX Bridge API.
Static Methods
backendRequest
Sends a request to PrivMX Bridge API using access token for authorization.
Params
serverUrl
String
PrivMX Bridge server URL
accessToken
String
token for authorization (see PrivMX Bridge API for more details)
method
String
API method to call
paramsAsJson
String
API method's parameters in JSON format
Returns
String
·
JSON string representing raw server response
backendRequest
Sends request to PrivMX Bridge API.
Params
serverUrl
String
PrivMX Bridge server URL
method
String
API method to call
paramsAsJson
String
API method's parameters in JSON format
Returns
String
·
JSON string representing raw server response
backendRequest
Sends a request to PrivMX Bridge API using pair of API KEY ID and API KEY SECRET for authorization.
Params
serverUrl
String
PrivMX Bridge server URL
apiKeyId
String
API KEY ID (see PrivMX Bridge API for more details)
apiKeySecret
String
API KEY SECRET (see PrivMX Bridge API for more details)
mode
long
allows you to set whether the request should be signed (mode = 1) or plain (mode = 0)
method
String
API method to call
paramsAsJson
String
API method's parameters in JSON format
Returns
String
·
JSON string representing raw server response
We use cookies on our website. We use them to ensure the proper functioning of the site and, if you agree, for purposes we set, such as analytics or marketing.