refs #6451 extension approach
This commit is contained in:
parent
d6f283738f
commit
b7b5abbf53
|
@ -11,24 +11,27 @@
|
|||
"[javascript]": {
|
||||
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
|
||||
},
|
||||
"cSpell.words": ["salix", "fdescribe"],
|
||||
"cSpell.words": [
|
||||
"salix",
|
||||
"fdescribe"
|
||||
],
|
||||
"rest-client.previewOption": "body",
|
||||
"rest-client.environmentVariables": {
|
||||
"$shared": {
|
||||
"version": "v1",
|
||||
"prodToken": "foo",
|
||||
"nonProdToken": "bar"
|
||||
"prodToken": "verdnatura",
|
||||
"nonProdToken": "verdnatura"
|
||||
},
|
||||
"local": {
|
||||
"version": "v2",
|
||||
"host": "localhost:3000",
|
||||
"host": "http://localhost:3000",
|
||||
"token": "{{$shared nonProdToken}}",
|
||||
"secretKey": "devSecret"
|
||||
},
|
||||
"production": {
|
||||
"host": "example.com",
|
||||
"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