From 84b9267735fa69aaaf9e175ebedebace40f7e080 Mon Sep 17 00:00:00 2001 From: radmehr Date: Wed, 17 Jun 2026 12:19:57 +0330 Subject: [PATCH] feat: automatically set httpYac variables --- http-client.env.json | 11 +++++++++++ .../auth/http/admin-login.post.endpoints.http | 9 +++++++-- .../choices/http/admin-choices-get-endpoints.http | 8 ++++---- .../http/admin-choices.delete.endpoints.http | 4 ++-- .../http/admin-choices.patch.endpoints.http | 4 ++-- .../choices/http/admin-choices.post.endpoints.http | 4 ++-- .../http/admin-questions.delete.endpoints.http | 4 ++-- .../http/admin-questions.get.endpoints.http | 8 ++++---- .../http/admin-questions.patch.endpoints.http | 4 ++-- .../http/admin-questions.post.endpoints.http | 4 ++-- .../tests/http/admin-tests.delete.endpoints.http | 4 ++-- .../tests/http/admin-tests.get.endpoints.http | 8 ++++---- .../tests/http/admin-tests.patch.endpoints.http | 4 ++-- .../tests/http/admin-tests.post.endpoints.http | 4 ++-- src/modules/auth/http/login.post.endpoints.http | 11 ++++++++--- src/modules/auth/http/refresh.post.endpoints.http | 14 +++++++------- .../auth/http/verify-otp.post.endpoints.http | 9 +++++++-- src/modules/tests/http/tests.get.endpoints.http | 4 ++-- src/modules/users/http/users.get.endpoints.http | 4 ++-- src/modules/users/http/users.patch.endpoints.http | 9 ++------- 20 files changed, 76 insertions(+), 55 deletions(-) create mode 100644 http-client.env.json diff --git a/http-client.env.json b/http-client.env.json new file mode 100644 index 0000000..1a444be --- /dev/null +++ b/http-client.env.json @@ -0,0 +1,11 @@ +{ + "local": { + "baseUrl": "http://localhost:3000" + }, + "dev": { + "baseUrl": "http://localhost:3000" + }, + "prod": { + "baseUrl": "http://localhost:3000" + } +} diff --git a/src/modules/admin/auth/http/admin-login.post.endpoints.http b/src/modules/admin/auth/http/admin-login.post.endpoints.http index febc3bd..851b13b 100644 --- a/src/modules/admin/auth/http/admin-login.post.endpoints.http +++ b/src/modules/admin/auth/http/admin-login.post.endpoints.http @@ -1,7 +1,12 @@ -POST http://localhost:3000/admin/auth/login +POST {{baseUrl}}/admin/auth/login Content-Type: application/json { "phone": "09333026363", "password": "Password1@" -} \ No newline at end of file +} + +{{ + $global.accessToken = response.parsedBody.data.access; + $global.refreshToken = response.parsedBody.data.refresh; +}} \ No newline at end of file diff --git a/src/modules/admin/choices/http/admin-choices-get-endpoints.http b/src/modules/admin/choices/http/admin-choices-get-endpoints.http index 70c91e7..1685f48 100644 --- a/src/modules/admin/choices/http/admin-choices-get-endpoints.http +++ b/src/modules/admin/choices/http/admin-choices-get-endpoints.http @@ -1,5 +1,5 @@ -GET http://localhost:3000/admin/choices/ -Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEwLCJwaG9uZSI6IjA5MzMzMDI2MzYzIiwiaWF0IjoxNzgxNjgxNzAzLCJleHAiOjE3ODE2ODUzMDMsImF1ZCI6ImxvY2FsaG9zdCIsImlzcyI6ImxvY2FsaG9zdCJ9.WD14d4CqEiM1EkNFf9ky1B-i32RmoVGbYYXaYJs4UC0 +GET {{baseUrl}}/admin/choices/ +Authorization: Bearer {{$global.accessToken}} -GET http://localhost:3000/admin/choices/1 -Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEwLCJwaG9uZSI6IjA5MzMzMDI2MzYzIiwiaWF0IjoxNzgxNjgxNzAzLCJleHAiOjE3ODE2ODUzMDMsImF1ZCI6ImxvY2FsaG9zdCIsImlzcyI6ImxvY2FsaG9zdCJ9.WD14d4CqEiM1EkNFf9ky1B-i32RmoVGbYYXaYJs4UC0 +GET {{baseUrl}}/admin/choices/1 +Authorization: Bearer {{$global.accessToken}} diff --git a/src/modules/admin/choices/http/admin-choices.delete.endpoints.http b/src/modules/admin/choices/http/admin-choices.delete.endpoints.http index 13f4cf3..48a21bf 100644 --- a/src/modules/admin/choices/http/admin-choices.delete.endpoints.http +++ b/src/modules/admin/choices/http/admin-choices.delete.endpoints.http @@ -1,2 +1,2 @@ -DELETE http://localhost:3000/admin/choices/6 -Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEwLCJwaG9uZSI6IjA5MzMzMDI2MzYzIiwiaWF0IjoxNzgxNTg0MjY1LCJleHAiOjE3ODE1ODc4NjUsImF1ZCI6ImxvY2FsaG9zdCIsImlzcyI6ImxvY2FsaG9zdCJ9.lV1U9uXQTAJmCamZfCDcDpITfIZs4QlVd9Fcjsr0BrA +DELETE {{baseUrl}}/admin/choices/6 +Authorization: Bearer {{$global.accessToken}} diff --git a/src/modules/admin/choices/http/admin-choices.patch.endpoints.http b/src/modules/admin/choices/http/admin-choices.patch.endpoints.http index c66f865..a1ad3b4 100644 --- a/src/modules/admin/choices/http/admin-choices.patch.endpoints.http +++ b/src/modules/admin/choices/http/admin-choices.patch.endpoints.http @@ -1,5 +1,5 @@ -PATCH http://localhost:3000/admin/choices/1 -Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEwLCJwaG9uZSI6IjA5MzMzMDI2MzYzIiwiaWF0IjoxNzgxNTMwNTI1LCJleHAiOjE3ODE1MzQxMjUsImF1ZCI6ImxvY2FsaG9zdCIsImlzcyI6ImxvY2FsaG9zdCJ9.C_Ol-dkX7mouofKqbc-VxtP4qF6WiCPmlpKXuq85DiQ +PATCH {{baseUrl}}/admin/choices/1 +Authorization: Bearer {{$global.accessToken}} Content-Type: application/json { diff --git a/src/modules/admin/choices/http/admin-choices.post.endpoints.http b/src/modules/admin/choices/http/admin-choices.post.endpoints.http index 5929cfe..ce46a86 100644 --- a/src/modules/admin/choices/http/admin-choices.post.endpoints.http +++ b/src/modules/admin/choices/http/admin-choices.post.endpoints.http @@ -1,5 +1,5 @@ -POST http://localhost:3000/admin/choices -Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEwLCJwaG9uZSI6IjA5MzMzMDI2MzYzIiwiaWF0IjoxNzgxNTg0MjY1LCJleHAiOjE3ODE1ODc4NjUsImF1ZCI6ImxvY2FsaG9zdCIsImlzcyI6ImxvY2FsaG9zdCJ9.lV1U9uXQTAJmCamZfCDcDpITfIZs4QlVd9Fcjsr0BrA +POST {{baseUrl}}/admin/choices +Authorization: Bearer {{$global.accessToken}} Content-Type: application/json { diff --git a/src/modules/admin/questions/http/admin-questions.delete.endpoints.http b/src/modules/admin/questions/http/admin-questions.delete.endpoints.http index 872ed5a..ed4a6f5 100644 --- a/src/modules/admin/questions/http/admin-questions.delete.endpoints.http +++ b/src/modules/admin/questions/http/admin-questions.delete.endpoints.http @@ -1,2 +1,2 @@ -DELETE http://localhost:3000/admin/questions/11 -Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEwLCJwaG9uZSI6IjA5MzMzMDI2MzYzIiwiaWF0IjoxNzgxNDQ2Njg2LCJleHAiOjE3ODE0NTAyODYsImF1ZCI6ImxvY2FsaG9zdCIsImlzcyI6ImxvY2FsaG9zdCJ9.3L6jYtNwlcLr9A9lJo6pOiTIi2rHKIqSXWphH4mgbSU +DELETE {{baseUrl}}/admin/questions/11 +Authorization: Bearer {{$global.accessToken}} diff --git a/src/modules/admin/questions/http/admin-questions.get.endpoints.http b/src/modules/admin/questions/http/admin-questions.get.endpoints.http index 9872f64..6a46fb5 100644 --- a/src/modules/admin/questions/http/admin-questions.get.endpoints.http +++ b/src/modules/admin/questions/http/admin-questions.get.endpoints.http @@ -1,5 +1,5 @@ -GET http://localhost:3000/admin/questions -Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEwLCJwaG9uZSI6IjA5MzMzMDI2MzYzIiwiaWF0IjoxNzgxMTkxMjMxLCJleHAiOjE3ODExOTQ4MzEsImF1ZCI6ImxvY2FsaG9zdCIsImlzcyI6ImxvY2FsaG9zdCJ9.6WsJHzWWQSCEzPklyHePOmXQhfH4pfIIUZA3c5Z3yFI +GET {{baseUrl}}/admin/questions +Authorization: Bearer {{$global.accessToken}} -GET http://localhost:3000/admin/questions/1 -Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEwLCJwaG9uZSI6IjA5MzMzMDI2MzYzIiwiaWF0IjoxNzgxMTkxMjMxLCJleHAiOjE3ODExOTQ4MzEsImF1ZCI6ImxvY2FsaG9zdCIsImlzcyI6ImxvY2FsaG9zdCJ9.6WsJHzWWQSCEzPklyHePOmXQhfH4pfIIUZA3c5Z3yFI +GET {{baseUrl}}/admin/questions/1 +Authorization: Bearer {{$global.accessToken}} diff --git a/src/modules/admin/questions/http/admin-questions.patch.endpoints.http b/src/modules/admin/questions/http/admin-questions.patch.endpoints.http index f719c28..362be4c 100644 --- a/src/modules/admin/questions/http/admin-questions.patch.endpoints.http +++ b/src/modules/admin/questions/http/admin-questions.patch.endpoints.http @@ -1,5 +1,5 @@ -PATCH http://localhost:3000/admin/questions/4 -Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEwLCJwaG9uZSI6IjA5MzMzMDI2MzYzIiwiaWF0IjoxNzgxNTg0MjY1LCJleHAiOjE3ODE1ODc4NjUsImF1ZCI6ImxvY2FsaG9zdCIsImlzcyI6ImxvY2FsaG9zdCJ9.lV1U9uXQTAJmCamZfCDcDpITfIZs4QlVd9Fcjsr0BrA +PATCH {{baseUrl}}/admin/questions/4 +Authorization: Bearer {{$global.accessToken}} Content-Type: application/json { diff --git a/src/modules/admin/questions/http/admin-questions.post.endpoints.http b/src/modules/admin/questions/http/admin-questions.post.endpoints.http index 754beb0..2e3bf82 100644 --- a/src/modules/admin/questions/http/admin-questions.post.endpoints.http +++ b/src/modules/admin/questions/http/admin-questions.post.endpoints.http @@ -1,5 +1,5 @@ -POST http://localhost:3000/admin/questions -Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEwLCJwaG9uZSI6IjA5MzMzMDI2MzYzIiwiaWF0IjoxNzgxMTYyMTUxLCJleHAiOjE3ODExNjU3NTEsImF1ZCI6ImxvY2FsaG9zdCIsImlzcyI6ImxvY2FsaG9zdCJ9.Z4oBnTrD-wTTlcThCSGslRco_HJhnQJpg-reGubTUec +POST {{baseUrl}}/admin/questions +Authorization: Bearer {{$global.accessToken}} Content-Type: application/json { diff --git a/src/modules/admin/tests/http/admin-tests.delete.endpoints.http b/src/modules/admin/tests/http/admin-tests.delete.endpoints.http index 203286c..25be501 100644 --- a/src/modules/admin/tests/http/admin-tests.delete.endpoints.http +++ b/src/modules/admin/tests/http/admin-tests.delete.endpoints.http @@ -1,2 +1,2 @@ -DELETE http://localhost:3000/admin/tests/100 -Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEwLCJwaG9uZSI6IjA5MzMzMDI2MzYzIiwiaWF0IjoxNzgxNTI2OTMyLCJleHAiOjE3ODE1MzA1MzIsImF1ZCI6ImxvY2FsaG9zdCIsImlzcyI6ImxvY2FsaG9zdCJ9.RVtpegax_yXI1PL91WvNWiIDDLTaJcPUUWU6Be9Hg1k +DELETE {{baseUrl}}/admin/tests/100 +Authorization: Bearer {{$global.accessToken}} diff --git a/src/modules/admin/tests/http/admin-tests.get.endpoints.http b/src/modules/admin/tests/http/admin-tests.get.endpoints.http index e90bfdd..444d5cd 100644 --- a/src/modules/admin/tests/http/admin-tests.get.endpoints.http +++ b/src/modules/admin/tests/http/admin-tests.get.endpoints.http @@ -1,5 +1,5 @@ -GET http://localhost:3000/admin/tests?title=test&isActive=true&accessType=paid&sortBy=title&order=DSC&page=2&limit=1 -Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEwLCJwaG9uZSI6IjA5MzMzMDI2MzYzIiwiaWF0IjoxNzgwNzQ5MTcwLCJleHAiOjE3ODA3NTI3NzAsImF1ZCI6ImxvY2FsaG9zdCIsImlzcyI6ImxvY2FsaG9zdCJ9.apRhtVZgFMFcyutZGO7uzckscch9Jw42s0RCSZZv4K0 +GET {{baseUrl}}/admin/tests?title=test&isActive=true&accessType=paid&sortBy=title&order=DSC&page=2&limit=1 +Authorization: Bearer {{$global.accessToken}} -GET http://localhost:3000/admin/tests/4 -Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEwLCJwaG9uZSI6IjA5MzMzMDI2MzYzIiwiaWF0IjoxNzgwNzQ5MTcwLCJleHAiOjE3ODA3NTI3NzAsImF1ZCI6ImxvY2FsaG9zdCIsImlzcyI6ImxvY2FsaG9zdCJ9.apRhtVZgFMFcyutZGO7uzckscch9Jw42s0RCSZZv4K0 +GET {{baseUrl}}/admin/tests/4 +Authorization: Bearer {{$global.accessToken}} diff --git a/src/modules/admin/tests/http/admin-tests.patch.endpoints.http b/src/modules/admin/tests/http/admin-tests.patch.endpoints.http index 55c7456..e595ccd 100644 --- a/src/modules/admin/tests/http/admin-tests.patch.endpoints.http +++ b/src/modules/admin/tests/http/admin-tests.patch.endpoints.http @@ -1,5 +1,5 @@ -PATCH http://localhost:3000/admin/tests/4 -Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEwLCJwaG9uZSI6IjA5MzMzMDI2MzYzIiwiaWF0IjoxNzgwNDk0NDQ1LCJleHAiOjE3ODA0OTgwNDUsImF1ZCI6ImxvY2FsaG9zdCIsImlzcyI6ImxvY2FsaG9zdCJ9.Sy-Er8DXzEUCD6Z-GZav0XKmpIqf0sXeBkUzjIf4Ypw +PATCH {{baseUrl}}/admin/tests/4 +Authorization: Bearer {{$global.accessToken}} Content-Type: application/json { diff --git a/src/modules/admin/tests/http/admin-tests.post.endpoints.http b/src/modules/admin/tests/http/admin-tests.post.endpoints.http index 5367947..d4ef544 100644 --- a/src/modules/admin/tests/http/admin-tests.post.endpoints.http +++ b/src/modules/admin/tests/http/admin-tests.post.endpoints.http @@ -1,6 +1,6 @@ -POST http://localhost:3000/admin/tests/ +POST {{baseUrl}}/admin/tests/ Content-Type: application/json -Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEwLCJwaG9uZSI6IjA5MzMzMDI2MzYzIiwiaWF0IjoxNzgwNDk0NDQ1LCJleHAiOjE3ODA0OTgwNDUsImF1ZCI6ImxvY2FsaG9zdCIsImlzcyI6ImxvY2FsaG9zdCJ9.Sy-Er8DXzEUCD6Z-GZav0XKmpIqf0sXeBkUzjIf4Ypw +Authorization: Bearer {{$global.accessToken}} { "title": "Test Five", diff --git a/src/modules/auth/http/login.post.endpoints.http b/src/modules/auth/http/login.post.endpoints.http index a2ae2aa..ecc237a 100644 --- a/src/modules/auth/http/login.post.endpoints.http +++ b/src/modules/auth/http/login.post.endpoints.http @@ -1,8 +1,13 @@ -POST http://localhost:3000/auth/login +POST {{baseUrl}}/auth/login Content-Type: application/json lang: fa { - "phone": "09333026363", + "phone": "09121111111", "password": "Password1@" -} \ No newline at end of file +} + +{{ + $global.accessToken = response.parsedBody.data.access; + $global.refreshToken = response.parsedBody.data.refresh; +}} \ No newline at end of file diff --git a/src/modules/auth/http/refresh.post.endpoints.http b/src/modules/auth/http/refresh.post.endpoints.http index 8aaefd8..9b90cff 100644 --- a/src/modules/auth/http/refresh.post.endpoints.http +++ b/src/modules/auth/http/refresh.post.endpoints.http @@ -1,11 +1,11 @@ -POST http://localhost:3000/auth/refresh +POST {{baseUrl}}/auth/refresh Content-Type: application/json -// { -// "access": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEwLCJwaG9uZSI6IjA5MzMzMDI2MzYzIiwiaWF0IjoxNzgwNDk0NDQ1LCJleHAiOjE3ODA0OTgwNDUsImF1ZCI6ImxvY2FsaG9zdCIsImlzcyI6ImxvY2FsaG9zdCJ9.Sy-Er8DXzEUCD6Z-GZav0XKmpIqf0sXeBkUzjIf4Ypw", -// "refresh": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEwLCJqdGkiOiIxOTA0NDljZi01ZGFiLTQ4NDYtOGU0OS1jZmNkYjhlNjI1YmQiLCJpYXQiOjE3ODA0OTQ0NDUsImV4cCI6MTc4MTM1ODQ0NSwiYXVkIjoibG9jYWxob3N0IiwiaXNzIjoibG9jYWxob3N0In0.k3ATuOrenBFRVAGUy93Kv6iCkKF7vLB2DSohoH0JpXQ" -// } - { - "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEwLCJqdGkiOiJmMDA0YWNmZS03ZWU5LTQ1OTgtYjIwZi04NGM3YTA5NGU4NGIiLCJpYXQiOjE3ODAzODkxNjksImV4cCI6MTc4MTI1MzE2OSwiYXVkIjoibG9jYWxob3N0IiwiaXNzIjoibG9jYWxob3N0In0.yGKx-j0ommIdr1ARYZrXQyXRA-ZIi5Am7QS-VWlkc8w" + "refreshToken": "{{$global.refreshToken}}" } + +{{ + $global.accessToken = response.parsedBody.data.access; + $global.refreshToken = response.parsedBody.data.refresh; +}} \ No newline at end of file diff --git a/src/modules/auth/http/verify-otp.post.endpoints.http b/src/modules/auth/http/verify-otp.post.endpoints.http index 00db320..1e5dd34 100644 --- a/src/modules/auth/http/verify-otp.post.endpoints.http +++ b/src/modules/auth/http/verify-otp.post.endpoints.http @@ -1,7 +1,12 @@ -POST http://localhost:3000/auth/verify-otp +POST {{baseUrl}}/auth/verify-otp Content-Type: application/json { "phone": "09365858721", "otp": "40023" -} \ No newline at end of file +} + +{{ + $global.accessToken = response.parsedBody.data.access; + $global.refreshToken = response.parsedBody.data.refresh; +}} \ No newline at end of file diff --git a/src/modules/tests/http/tests.get.endpoints.http b/src/modules/tests/http/tests.get.endpoints.http index 71cbcaf..d9a36b6 100644 --- a/src/modules/tests/http/tests.get.endpoints.http +++ b/src/modules/tests/http/tests.get.endpoints.http @@ -1,3 +1,3 @@ -GET http://localhost:3000/tests +GET {{baseUrl}}/tests -GET http://localhost:3000/tests/4 +GET {{baseUrl}}/tests/4 diff --git a/src/modules/users/http/users.get.endpoints.http b/src/modules/users/http/users.get.endpoints.http index 8a40ad2..45d0db6 100644 --- a/src/modules/users/http/users.get.endpoints.http +++ b/src/modules/users/http/users.get.endpoints.http @@ -1,2 +1,2 @@ -GET http://localhost:3000/users/profile -Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjExLCJwaG9uZSI6IjA5MTIxMTExMTExIiwiaWF0IjoxNzgwMzE3OTU0LCJleHAiOjE3ODAzMjE1NTQsImF1ZCI6ImxvY2FsaG9zdCIsImlzcyI6ImxvY2FsaG9zdCJ9.YDOb0tXVdSPyBnjuBvby4acp6BP_NyXK0gtLdVEoMp4 +GET {{baseUrl}}/users/profile +Authorization: Bearer {{$global.accessToken}} diff --git a/src/modules/users/http/users.patch.endpoints.http b/src/modules/users/http/users.patch.endpoints.http index 7328ff5..7159012 100644 --- a/src/modules/users/http/users.patch.endpoints.http +++ b/src/modules/users/http/users.patch.endpoints.http @@ -1,13 +1,8 @@ -PATCH http://localhost:3000/users/profile +PATCH {{baseUrl}}/users/profile Content-Type: application/json -Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjExLCJwaG9uZSI6IjA5MTIxMTExMTExIiwiaWF0IjoxNzgwMzE3OTU0LCJleHAiOjE3ODAzMjE1NTQsImF1ZCI6ImxvY2FsaG9zdCIsImlzcyI6ImxvY2FsaG9zdCJ9.YDOb0tXVdSPyBnjuBvby4acp6BP_NyXK0gtLdVEoMp4 +Authorization: Bearer {{$global.accessToken}} lang: fa -// { -// "access": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEwLCJwaG9uZSI6IjA5MzMzMDI2MzYzIiwiaWF0IjoxNzc5OTU2NTk5LCJleHAiOjE3Nzk5NjAxOTksImF1ZCI6ImxvY2FsaG9zdCIsImlzcyI6ImxvY2FsaG9zdCJ9.e1Qay8cf6jW4OYPY8HCLs5TWUHObICkoAidj0QBhbM4", -// "refresh": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEwLCJqdGkiOiIyZjQ1YzcxMi01ZGQzLTRhY2ItYjExYS04ZDA5YTc3YTVmYTciLCJpYXQiOjE3Nzk5NTY1OTksImV4cCI6MTc4MDgyMDU5OSwiYXVkIjoibG9jYWxob3N0IiwiaXNzIjoibG9jYWxob3N0In0.GX4kSCUCIvBVq9l4lQ8dkETvFZ1NwBIm9NGOIjBsQCc" -// } - { "firstName": "تست", "lastName": "تستعلی",