配置文件
"rest-client.environmentVariables": {
"$shared": {
"version": "v1"
},
"staging": {
"version": "v2",
"host": "https://wx.huizhanyt.com",
"token": "test token"
},
"production": {
"host": "example.com",
"token": "product token"
}
},
post
# register
POST {{host}}/v1/user/register HTTP/1.1
content-type: application/json
{
"nickname": "sample",
"password1": "1234",
"password2":"123",
"email":"sar@qq.com"
}