refs #6451 extension approach
This commit is contained in:
parent
d6f283738f
commit
b7b5abbf53
|
@ -11,24 +11,27 @@
|
||||||
"[javascript]": {
|
"[javascript]": {
|
||||||
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
|
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
|
||||||
},
|
},
|
||||||
"cSpell.words": ["salix", "fdescribe"],
|
"cSpell.words": [
|
||||||
|
"salix",
|
||||||
|
"fdescribe"
|
||||||
|
],
|
||||||
"rest-client.previewOption": "body",
|
"rest-client.previewOption": "body",
|
||||||
"rest-client.environmentVariables": {
|
"rest-client.environmentVariables": {
|
||||||
"$shared": {
|
"$shared": {
|
||||||
"version": "v1",
|
"version": "v1",
|
||||||
"prodToken": "foo",
|
"prodToken": "verdnatura",
|
||||||
"nonProdToken": "bar"
|
"nonProdToken": "verdnatura"
|
||||||
},
|
},
|
||||||
"local": {
|
"local": {
|
||||||
"version": "v2",
|
"version": "v2",
|
||||||
"host": "localhost:3000",
|
"host": "http://localhost:3000",
|
||||||
"token": "{{$shared nonProdToken}}",
|
"token": "{{$shared nonProdToken}}",
|
||||||
"secretKey": "devSecret"
|
"secretKey": "devSecret"
|
||||||
},
|
},
|
||||||
"production": {
|
"production": {
|
||||||
"host": "example.com",
|
"host": "example.com",
|
||||||
"token": "{{$shared prodToken}}",
|
"token": "{{$shared prodToken}}",
|
||||||
"secretKey": "prodSecret"
|
"secretKey" : "prodSecret"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
|
||||||
|
GET /api/items/findOne?filter=%7B%22where%22%3A%20%7B%22id%22%3A%201%7D%7D HTTP/1.1
|
||||||
|
Authorization: {{token}}
|
||||||
|
Content-Type: application/json
|
||||||
|
Host: localhost:5000
|
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
|
||||||
|
# @name login
|
||||||
|
POST /api/VnUsers/sign-in HTTP/1.1
|
||||||
|
Content-Type: application/json
|
||||||
|
Host: localhost:3000
|
||||||
|
Content-Length: 45
|
||||||
|
|
||||||
|
{"user":"developer", "password": "nightmare"}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue