feat: 新增 nodejs 实验 8
This commit is contained in:
113
Server/tests/test8/Server.postman.json
Normal file
113
Server/tests/test8/Server.postman.json
Normal file
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"info": {
|
||||
"name": "Server",
|
||||
"description": "",
|
||||
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
|
||||
},
|
||||
"item": [
|
||||
{
|
||||
"name": "test8",
|
||||
"description": "",
|
||||
"item": [
|
||||
{
|
||||
"name": "register",
|
||||
"description": "",
|
||||
"event": [],
|
||||
"auth": {},
|
||||
"request": {
|
||||
"auth": {},
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mode": "raw",
|
||||
"raw": "{\r\n \"username\": \"abc\",\r\n \"password\": \"abc\",\r\n \"email\": \"abc@email.com\",\r\n \"gender\": \"male\",\r\n \"hobbies\": [\r\n \"听音乐\",\r\n \"玩游戏\"\r\n ],\r\n \"city\": \"重庆\",\r\n \"description\": \"爱坤坤\"\r\n}",
|
||||
"options": {
|
||||
"raw": {
|
||||
"language": "json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"header": [],
|
||||
"url": {
|
||||
"raw": "http://localhost:3000/register",
|
||||
"path": [
|
||||
"register"
|
||||
],
|
||||
"host": [
|
||||
"localhost"
|
||||
],
|
||||
"protocol": "http",
|
||||
"port": "3000",
|
||||
"query": [],
|
||||
"variable": []
|
||||
}
|
||||
},
|
||||
"response": [],
|
||||
"protocolProfileBehavior": {
|
||||
"strictSSL": false,
|
||||
"followRedirects": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "login",
|
||||
"description": "",
|
||||
"event": [],
|
||||
"auth": {},
|
||||
"request": {
|
||||
"auth": {},
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mode": "raw",
|
||||
"raw": "{\r\n \"username\": \"abc\",\r\n \"password\": \"abc\"\r\n}",
|
||||
"options": {
|
||||
"raw": {
|
||||
"language": "json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"header": [],
|
||||
"url": {
|
||||
"raw": "http://localhost:3000/login",
|
||||
"path": [
|
||||
"login"
|
||||
],
|
||||
"host": [
|
||||
"localhost"
|
||||
],
|
||||
"protocol": "http",
|
||||
"port": "3000",
|
||||
"query": [],
|
||||
"variable": []
|
||||
}
|
||||
},
|
||||
"response": [],
|
||||
"protocolProfileBehavior": {
|
||||
"strictSSL": false,
|
||||
"followRedirects": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"event": [
|
||||
{
|
||||
"listen": "prerequest",
|
||||
"script": {
|
||||
"exec": [],
|
||||
"type": "text/javascript",
|
||||
"packages": {}
|
||||
}
|
||||
},
|
||||
{
|
||||
"listen": "test",
|
||||
"script": {
|
||||
"exec": [],
|
||||
"type": "text/javascript",
|
||||
"packages": {}
|
||||
}
|
||||
}
|
||||
],
|
||||
"auth": {}
|
||||
}
|
||||
],
|
||||
"variable": [],
|
||||
"event": [],
|
||||
"auth": {}
|
||||
}
|
||||
Reference in New Issue
Block a user