113 lines
4.0 KiB
JSON
113 lines
4.0 KiB
JSON
{
|
|
"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": {}
|
|
} |