Skip to content

Commit

Permalink
add thunder client
Browse files Browse the repository at this point in the history
  • Loading branch information
wuttinanhi committed Sep 19, 2022
1 parent ccd8db5 commit 553ff14
Show file tree
Hide file tree
Showing 6 changed files with 101 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ vscode:
- ms-vscode.makefile-tools
- VisualStudioExptTeam.vscodeintellicode
- ms-python.python
- rangav.vscode-thunder-client
12 changes: 11 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,15 @@
"editor.wordBasedSuggestions": false,
"editor.defaultFormatter": "ms-python.python",
"editor.formatOnSave": true
}
},
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/__pycache__": true,
},
"thunder-client.saveToWorkspace": true
}
1 change: 1 addition & 0 deletions thunder-tests/thunderActivity.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
14 changes: 14 additions & 0 deletions thunder-tests/thunderCollection.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"_id": "55d84e90-6849-46a6-b752-48f30ef9a83c",
"colName": "auth",
"created": "2022-09-19T03:39:32.146Z",
"sortNum": 10000,
"folders": [],
"settings": {
"headers": [],
"tests": [],
"envId": "99e59d5a-e5fa-450f-9cc1-4ade3a66969b"
}
}
]
16 changes: 16 additions & 0 deletions thunder-tests/thunderEnvironment.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"_id": "99e59d5a-e5fa-450f-9cc1-4ade3a66969b",
"name": "dev",
"default": true,
"sortNum": 10000,
"created": "2022-09-19T03:40:08.517Z",
"modified": "2022-09-19T03:45:26.188Z",
"data": [
{
"name": "BASE_API_URL",
"value": "http://127.0.0.1:5000"
}
]
}
]
58 changes: 58 additions & 0 deletions thunder-tests/thunderclient.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
[
{
"_id": "8b530330-87b6-4ec2-8e3b-168b14ca4952",
"colId": "55d84e90-6849-46a6-b752-48f30ef9a83c",
"containerId": "",
"name": "login",
"url": "{{BASE_API_URL}}/auth/login",
"method": "POST",
"sortNum": 10000,
"created": "2022-09-19T03:39:38.779Z",
"modified": "2022-09-19T03:46:43.666Z",
"headers": [],
"params": [],
"body": {
"type": "json",
"raw": "{\n \"email\": \"[email protected]\",\n \"password\": \"@Test12345\"\n}",
"form": []
},
"tests": []
},
{
"_id": "e7480ac6-60cf-49da-a4a5-10a0c4877668",
"colId": "55d84e90-6849-46a6-b752-48f30ef9a83c",
"containerId": "",
"name": "register",
"url": "{{BASE_API_URL}}/auth/register",
"method": "POST",
"sortNum": 20000,
"created": "2022-09-19T03:43:42.770Z",
"modified": "2022-09-19T03:46:32.753Z",
"headers": [],
"params": [],
"body": {
"type": "json",
"raw": "{\n \"email\": \"[email protected]\",\n \"password\": \"@Test12345\"\n}",
"form": []
},
"tests": []
},
{
"_id": "64f8db50-0575-4a5c-9089-0f15cb429069",
"colId": "55d84e90-6849-46a6-b752-48f30ef9a83c",
"containerId": "",
"name": "user",
"url": "{{BASE_API_URL}}/auth/user",
"method": "GET",
"sortNum": 15000,
"created": "2022-09-19T03:46:58.194Z",
"modified": "2022-09-19T03:47:43.811Z",
"headers": [],
"params": [],
"auth": {
"type": "bearer",
"bearer": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoxLCJpYXQiOjE2NjM1NTkyMDYsImV4cCI6MTY2MzU1OTUwNn0.9PYMmP-4yLEFh-NJNuTlY4IrTnLyIoQRl56lWr5y18U"
},
"tests": []
}
]

0 comments on commit 553ff14

Please sign in to comment.