3 communication mechanism, 4 data format – CounterPath Bria Professional 2.5 Provisioning Guide User Manual

Page 10

Advertising
background image

CounterPath Corporation

6

might become this POST used to log in the user:

Note that “Username” and “Password” (with initial capitals) are always sent in a login POST; the URL does not
have to include macros for this data.

See “Script Samples” on page 21 for samples of some of the scripts that are mentioned in this manual.

See “Macros” on page 22 for a list of macros that Bria Professional supports.

1.3.3 Communication Mechanism

All communications between Bria Professional and the login server are performed over HTTP or HTTPS, as
follows:

Custom login uses POST.

Remote update and remote upgrade use GET.

The remote provisioning mechanism does not support redirect.

If using HTTPS, you need a trusted certificate (not self signed). Bria Professional will only accept certificates
whose authenticity can be verified through the trust chain.

1.3.4 Data Format

All the data included in the GET or POST response is in a specific format. This format is similar to that of
Microsoft

®

Windows

®

.ini files.

The information is organized into three portions, which must appear in this order:

[DATA]

[SETTINGS]

[##MEMORY##]

https://mycustomloginserver.com/login.php
--------------------------------------------------------------------------------------
Username=21187
Password=rosebud
platform=win32
lic=d3874ihfd8t23975v1iu5182ruity3iusapor236u545uye0r9qwjj

Advertising