Check if token is empty or invalid, update postman

This commit is contained in:
2022-03-14 22:57:03 +01:00
parent 4cda34e2c8
commit d03cd1d2f8
5 changed files with 52 additions and 24 deletions

View File

@@ -289,7 +289,7 @@
"name": "Transactions",
"item": [
{
"name": "/api/keywords",
"name": "/api/transactions",
"request": {
"method": "GET",
"header": [],
@@ -307,7 +307,7 @@
"response": []
},
{
"name": "/api/keyword",
"name": "/api/transaction",
"request": {
"method": "POST",
"header": [],
@@ -341,7 +341,7 @@
"bearer": [
{
"key": "token",
"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6IlVzZXJuYW1lIiwiZXhwIjoxNjQ3MjgwMjkwfQ.SL_WpvJBA1XG_BVwD-zIS4-YnGvxbNqluy5fWjGp2DQ",
"value": "access_token",
"type": "string"
}
]