PrivMX DOCS
API Reference/PrivMX Endpoint C#/Core

BackendRequester

Static Methods

Create

Creates an instance of the BackendRequester.

static BackendRequester Create()

Returns

BackendRequester · Created instance of the BackendRequester.

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.

string BackendRequest(
string serverUrl,
string accessToken,
string method,
string paramsAsJson
)

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.

string BackendRequest(
string serverUrl,
string method,
string paramsAsJson
)

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.

string BackendRequest(
string serverUrl,
string apiKeyId,
string apiKeySecret,
long mode,
string method,
string paramsAsJson
)

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.