瀏覽代碼

增加HTTP测试文件

Michael Wang 6 年之前
父節點
當前提交
b5ea597e7d
共有 2 個文件被更改,包括 52 次插入0 次删除
  1. 38 0
      http-test/examee.http
  2. 14 0
      http-test/user.http

+ 38 - 0
http-test/examee.http

@@ -0,0 +1,38 @@
+### login
+POST http://192.168.10.30:10060/ocean/api/ocean-cloud-security/security/partitionUserLogin
+Content-Type: application/json;charset=UTF-8
+
+{
+  "$partitionId": 1,
+  "accountType": "loginName",
+  "accountValue": "wzj",
+  "password": 123456
+}
+
+
+@partionId = 1
+@uid = 1
+@token = d45f73b961264ba6bc192ce56e4d3504
+
+###
+POST http://192.168.10.39:8030/api/skynet/exam/student/list/
+Content-Type: application/json;charset=UTF-8
+access_type: partition_user
+partition_id: {{partionId}}
+partition_uid: {{uid}}
+partition_token: {{token}}
+
+{
+	"courseId": 0,
+	"examId": 0,
+	"partitionId": 0,
+	"primaryId": 0,
+	"secondId": 0,
+	"stageOrder": 0,
+	"studentCode": "",
+	"studentName": "",
+	"thirdId": 0,
+	"ticketNumber": ""
+}
+
+

+ 14 - 0
http-test/user.http

@@ -0,0 +1,14 @@
+### login
+POST http://192.168.10.30:10060/ocean/api/ocean-cloud-security/security/partitionUserLogin
+Content-Type: application/json;charset=UTF-8
+
+{
+  "$partitionId": 1,
+  "accountType": "loginName",
+  "accountValue": "wzj",
+  "password": 123456
+}
+
+
+
+