---
# System prepended metadata

title: "3️⃣1️⃣ \U0001F680配合DBA壓測->官網 API 參數說明"
tags: [壓測, APPAPI, '31', DBA]

---


```json=
@host = http://127.0.0.1:5003
```

# * 登入
```json=
POST {{host}}/api/Member/login
Accept: application/json
Accept-Charset: utf-8
Content-Type: application/json

{
    "account": "Datw07",
    "password": "CF79AE6ADDBA60AD018347359BD144D2",
    "uidKey": "web"
}
```

# * RG 真人(網頁版)
```json=
# baccarat(經典百家)、themeBaccarat(主題百家)、DT(龍虎)、roulette(輪盤)、sicbo(骰寶)、other(特色遊戲)、Blockchaingames(區塊鍊百家)、GreenVersionLobby(經典版)、BlueVersionLobby(旗艦版)
POST {{host}}/api/Game/GetGameToken/W1RCGv2
Accept: application/json
Accept-Charset: utf-8
Content-Type: application/json
Authorization: Bearer {{token}}

{
  "device": "web",
  "lang": "zh-tw",
  "lobbyURL": "https://wwwpwa.royal-test.com/",
  "gameCode": "Blockchaingames"
}
###
```

# * RSG
```json=
POST {{host}}/api/Game/GetGameToken/W1Royal
Accept: application/json
Accept-Charset: utf-8
Content-Type: application/json
Authorization: Bearer {{token}}

{
  "device": "DESKTOP",
  "lang": "zh-tw",
  "lobbyURL": "https://ts.bacctest.com/close",
  "gameCode": "78"
}
```

# * JDB
```json=
POST {{host}}/api/Game/GetGameToken/W1JDB
Accept: application/json
Accept-Charset: utf-8
Content-Type: application/json
Authorization: Bearer {{token}}

{
  "device": "DESKTOP",
  "lang": "zh-tw",
  "lobbyURL": "https://ts.bacctest.com/close",
  "gameCode": "9007"
}
```

# * JILI
```json=
POST {{host}}/api/Game/GetGameToken/JILI
Accept: application/json
Accept-Charset: utf-8
Content-Type: application/json
Authorization: Bearer {{token}}

{
  "device": "DESKTOP",
  "lang": "zh-tw",
  "lobbyURL": "https://ts.bacctest.com/close",
  "gameCode": "212"
}
```