Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save skrashevich/60eaac2b4847dc35bef2dff939e99df3 to your computer and use it in GitHub Desktop.
Save skrashevich/60eaac2b4847dc35bef2dff939e99df3 to your computer and use it in GitHub Desktop.
8 transactions to https://api.tes.store
POST /tes-hub/auth/token HTTP/1.1
Host: api.tes.store
Content-Type: application/json
User-Agent: TES_Store/1 CFNetwork/1494.0.7 Darwin/23.4.0
Connection: keep-alive
baggage: sentry-environment=production,sentry-public_key=d30a351f341b47b592a2b8f7b141d9e1,sentry-release=store.tes.application%401.4.4%2B1,sentry-trace_id=86254886dc434048a54fe062ab90f96e
Accept: application/json
Accept-Language: ru
Content-Length: 214
Accept-Encoding: gzip, deflate, br
sentry-trace: 86254886dc434048a54fe062ab90f96e-8c46bd5808f24276-0
{"refreshToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGllbnRJZCI6IjUzOGYyMTc2LTFlZTUtNDFmZC1iYTE0LTA5YjVkMzJiMWQzZCIsImlhdCI6MTcwOTA3NzczMCwiZXhwIjoxNzExNzU2MTMwfQ.QjW1RMEvtQxhZxpGPRLMNWUzVLWpMHN6DxMsCDbBs-o"}
HTTP/1.1 401 Unauthorized
Date: Tue, 09 Apr 2024 08:08:07 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 80
Connection: keep-alive
X-Powered-By: Express
Access-Control-Allow-Origin: *
ETag: W/"50-YVhGM5PdT5Wtf9OzKP7HYgHT3sc"
Strict-Transport-Security: max-age=15724800; includeSubDomains
{"statusCode":401,"message":"jwt expired","code":"UnknownError","error":"Error"}
GET /tes-hub/auth/get-user HTTP/1.1
Host: api.tes.store
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
x-lang: ru
x-device-name: iPhone
x-timezone: +0300
x-device-id: 258B66FD-A81A-4133-AE46-5A5D04B32A28
x-project: TES
baggage: sentry-environment=production,sentry-public_key=d30a351f341b47b592a2b8f7b141d9e1,sentry-release=store.tes.application%401.4.4%2B1,sentry-trace_id=86254886dc434048a54fe062ab90f96e
x-device-os-version: 17.4.1
x-device-os-name: iOS
x-app-version: 1.4.4
x-language: ru
x-push-token:
Connection: keep-alive
Accept-Language: ru
x-city: moscow
Accept: application/json
Content-Type: application/json
sentry-trace: 86254886dc434048a54fe062ab90f96e-8c46bd5808f24276-0
x-real-ip: ::fde3:5477:b862:f48:c00:d932
Accept-Encoding: gzip, deflate, br
HTTP/1.1 401 Unauthorized
Date: Tue, 09 Apr 2024 08:08:08 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 94
Connection: keep-alive
X-Powered-By: Express
Access-Control-Allow-Origin: *
ETag: W/"5e-ExfnJ2BbfPGh4Z2PSlS4cmdCNb4"
Strict-Transport-Security: max-age=15724800; includeSubDomains
{"statusCode":401,"message":"Empty authorization token","code":"UnknownError","error":"Error"}
GET /tes-hub/auth/get-user HTTP/1.1
Host: api.tes.store
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
x-lang: ru
x-device-name: iPhone
x-timezone: +0300
x-device-id: 258B66FD-A81A-4133-AE46-5A5D04B32A28
x-project: TES
baggage: sentry-environment=production,sentry-public_key=d30a351f341b47b592a2b8f7b141d9e1,sentry-release=store.tes.application%401.4.4%2B1,sentry-trace_id=86254886dc434048a54fe062ab90f96e
x-device-os-version: 17.4.1
x-device-os-name: iOS
x-app-version: 1.4.4
x-language: ru
x-push-token:
Connection: keep-alive
Accept-Language: ru
x-city: moscow
Accept: application/json
Content-Type: application/json
sentry-trace: 86254886dc434048a54fe062ab90f96e-8c46bd5808f24276-0
x-real-ip: ::fde3:5477:b862:f48:c00:d932
Accept-Encoding: gzip, deflate, br
HTTP/1.1 401 Unauthorized
Date: Tue, 09 Apr 2024 08:08:08 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 94
Connection: keep-alive
X-Powered-By: Express
Access-Control-Allow-Origin: *
ETag: W/"5e-ExfnJ2BbfPGh4Z2PSlS4cmdCNb4"
Strict-Transport-Security: max-age=15724800; includeSubDomains
{"statusCode":401,"message":"Empty authorization token","code":"UnknownError","error":"Error"}
POST /tes-hub/auth/allow-dev HTTP/1.1
Host: api.tes.store
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
x-lang: ru
x-device-name: iPhone
x-timezone: +0300
x-device-id: 258B66FD-A81A-4133-AE46-5A5D04B32A28
x-project: TES
baggage: sentry-environment=production,sentry-public_key=d30a351f341b47b592a2b8f7b141d9e1,sentry-release=store.tes.application%401.4.4%2B1,sentry-trace_id=86254886dc434048a54fe062ab90f96e
x-device-os-version: 17.4.1
x-device-os-name: iOS
Content-Length: 24
x-app-version: 1.4.4
x-language: ru
x-push-token:
Connection: keep-alive
Accept-Language: ru
x-city: moscow
Accept: application/json
Content-Type: application/json
sentry-trace: 86254886dc434048a54fe062ab90f96e-8c46bd5808f24276-0
x-real-ip: ::fde3:5477:b862:f48:c00:d932
Accept-Encoding: gzip, deflate, br
{"phone":"+79037094319"}
HTTP/1.1 200 OK
Date: Tue, 09 Apr 2024 08:08:23 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 18
Connection: keep-alive
X-Powered-By: Express
Access-Control-Allow-Origin: *
ETag: W/"12-NkeLwG3cxaEdvbJ80EmlWtk8sto"
Strict-Transport-Security: max-age=15724800; includeSubDomains
{"allowDev":false}
POST /tes-hub/auth/client-authentication HTTP/1.1
Host: api.tes.store
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
x-lang: ru
x-device-name: iPhone
x-timezone: +0300
x-device-id: 258B66FD-A81A-4133-AE46-5A5D04B32A28
x-project: TES
baggage: sentry-environment=production,sentry-public_key=d30a351f341b47b592a2b8f7b141d9e1,sentry-release=store.tes.application%401.4.4%2B1,sentry-trace_id=86254886dc434048a54fe062ab90f96e
x-device-os-version: 17.4.1
x-device-os-name: iOS
Content-Length: 24
x-app-version: 1.4.4
x-language: ru
x-push-token:
Connection: keep-alive
Accept-Language: ru
x-city: moscow
Accept: application/json
Content-Type: application/json
sentry-trace: 86254886dc434048a54fe062ab90f96e-8c46bd5808f24276-0
x-real-ip: ::fde3:5477:b862:f48:c00:d932
Accept-Encoding: gzip, deflate, br
{"phone":"+79037094319"}
HTTP/1.1 200 OK
Date: Tue, 09 Apr 2024 08:08:24 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 57
Connection: keep-alive
X-Powered-By: Express
Access-Control-Allow-Origin: *
ETag: W/"39-+61B9rq+o0Aeu+s6x8LGkBYHol4"
Strict-Transport-Security: max-age=15724800; includeSubDomains
{"status":"Code is sent to +79037094319","testCode":null}
POST /tes-hub/auth/login-confirmation HTTP/1.1
Host: api.tes.store
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
x-lang: ru
x-device-name: iPhone
x-timezone: +0300
x-device-id: 258B66FD-A81A-4133-AE46-5A5D04B32A28
x-project: TES
baggage: sentry-environment=production,sentry-public_key=d30a351f341b47b592a2b8f7b141d9e1,sentry-release=store.tes.application%401.4.4%2B1,sentry-trace_id=86254886dc434048a54fe062ab90f96e
x-device-os-version: 17.4.1
x-device-os-name: iOS
Content-Length: 102
x-app-version: 1.4.4
x-language: ru
x-push-token:
Connection: keep-alive
Accept-Language: ru
x-city: moscow
Accept: application/json
Content-Type: application/json
sentry-trace: 86254886dc434048a54fe062ab90f96e-8c46bd5808f24276-0
x-real-ip: ::fde3:5477:b862:f48:c00:d932
Accept-Encoding: gzip, deflate, br
{"phone":"+79037094319","code":"9270","personalDataPolicyConfirmed":true,"advertisingConfirmed":false}
HTTP/1.1 200 OK
Date: Tue, 09 Apr 2024 08:08:47 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 713
Connection: keep-alive
X-Powered-By: Express
Access-Control-Allow-Origin: *
ETag: W/"2c9-RW+Lem+xN69g1RBGO8CHCEvUi6c"
Strict-Transport-Security: max-age=15724800; includeSubDomains
{"clientId":"538f2176-1ee5-41fd-ba14-09b5d32b1d3d","phone":"+79037094319","accessToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGllbnRJZCI6IjUzOGYyMTc2LTFlZTUtNDFmZC1iYTE0LTA5YjVkMzJiMWQzZCIsImRldmljZUlkIjoiMjU4QjY2RkQtQTgxQS00MTMzLUFFNDYtNUE1RDA0QjMyQTI4IiwiaWF0IjoxNzEyNjUwMTI3LCJleHAiOjE3MTI2NTEwMjd9.HcO3b9zUwEAxbOqQj5pa9zBu8717U2YyaN8l8mTS_lQ","refreshToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGllbnRJZCI6IjUzOGYyMTc2LTFlZTUtNDFmZC1iYTE0LTA5YjVkMzJiMWQzZCIsImRldmljZUlkIjoiMjU4QjY2RkQtQTgxQS00MTMzLUFFNDYtNUE1RDA0QjMyQTI4IiwiaWF0IjoxNzEyNjUwMTI3LCJleHAiOjE3MTUzMjg1Mjd9.o_RsqZgd6HFq4t0UXZJSj-S3hygcnUNh39WHyA6YXgM","expiresAt":"2024-04-09T08:23:47.000Z","tokenType":"Bearer","confirmType":"LOGIN"}
GET /tes-hub/auth/get-user HTTP/1.1
Host: api.tes.store
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
x-lang: ru
x-device-name: iPhone
x-timezone: +0300
x-device-id: 258B66FD-A81A-4133-AE46-5A5D04B32A28
x-project: TES
baggage: sentry-environment=production,sentry-public_key=d30a351f341b47b592a2b8f7b141d9e1,sentry-release=store.tes.application%401.4.4%2B1,sentry-trace_id=86254886dc434048a54fe062ab90f96e
x-device-os-version: 17.4.1
x-device-os-name: iOS
x-app-version: 1.4.4
x-language: ru
x-push-token:
Connection: keep-alive
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGllbnRJZCI6IjUzOGYyMTc2LTFlZTUtNDFmZC1iYTE0LTA5YjVkMzJiMWQzZCIsImRldmljZUlkIjoiMjU4QjY2RkQtQTgxQS00MTMzLUFFNDYtNUE1RDA0QjMyQTI4IiwiaWF0IjoxNzEyNjUwMTI3LCJleHAiOjE3MTI2NTEwMjd9.HcO3b9zUwEAxbOqQj5pa9zBu8717U2YyaN8l8mTS_lQ
Accept-Language: ru
x-city: moscow
Accept: application/json
Content-Type: application/json
sentry-trace: 86254886dc434048a54fe062ab90f96e-8c46bd5808f24276-0
x-real-ip: ::fde3:5477:b862:f48:c00:d932
Accept-Encoding: gzip, deflate, br
HTTP/1.1 200 OK
Date: Tue, 09 Apr 2024 08:08:49 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 634
Connection: keep-alive
X-Powered-By: Express
Access-Control-Allow-Origin: *
ETag: W/"27a-2xG7FaBjyLP6bNHdmdbK8LAPG3I"
Strict-Transport-Security: max-age=15724800; includeSubDomains
{"id":"538f2176-1ee5-41fd-ba14-09b5d32b1d3d","createdAt":"2024-02-27T22:58:10.351Z","updatedAt":"2024-04-09T08:08:47.962Z","active":true,"phone":"+79037094319","firstName":null,"lastName":null,"patronymic":null,"email":null,"gender":0,"birthdate":null,"phoneConfirmed":true,"personalDataPolicyConfirmed":true,"emailConfirmed":true,"avatar":null,"phoneConfirmedDate":"2024-02-27T22:58:26.560Z","emailConfirmedDate":"2024-03-29T22:00:00.430Z","allowDev":false,"partnerIdent":"tes","driverLicense":null,"driverLicensePhoto":null,"firstLoginAt":"2024-02-27T23:12:30.805Z","loginAt":"2024-04-09T08:08:47.961Z","advertisingConfirmed":false}
GET /tes-hub/auth/get-user HTTP/1.1
Host: api.tes.store
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
x-lang: ru
x-device-name: iPhone
x-timezone: +0300
x-device-id: 258B66FD-A81A-4133-AE46-5A5D04B32A28
x-project: TES
baggage: sentry-environment=production,sentry-public_key=d30a351f341b47b592a2b8f7b141d9e1,sentry-release=store.tes.application%401.4.4%2B1,sentry-trace_id=86254886dc434048a54fe062ab90f96e
x-device-os-version: 17.4.1
x-device-os-name: iOS
x-app-version: 1.4.4
x-language: ru
x-push-token:
Connection: keep-alive
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGllbnRJZCI6IjUzOGYyMTc2LTFlZTUtNDFmZC1iYTE0LTA5YjVkMzJiMWQzZCIsImRldmljZUlkIjoiMjU4QjY2RkQtQTgxQS00MTMzLUFFNDYtNUE1RDA0QjMyQTI4IiwiaWF0IjoxNzEyNjUwMTI3LCJleHAiOjE3MTI2NTEwMjd9.HcO3b9zUwEAxbOqQj5pa9zBu8717U2YyaN8l8mTS_lQ
Accept-Language: ru
x-city: moscow
Accept: application/json
Content-Type: application/json
sentry-trace: 86254886dc434048a54fe062ab90f96e-8c46bd5808f24276-0
x-real-ip: ::fde3:5477:b862:f48:c00:d932
Accept-Encoding: gzip, deflate, br
If-None-Match: W/"27a-2xG7FaBjyLP6bNHdmdbK8LAPG3I"
HTTP/1.1 304 Not Modified
Date: Tue, 09 Apr 2024 08:08:50 GMT
Connection: keep-alive
X-Powered-By: Express
Access-Control-Allow-Origin: *
ETag: W/"27a-2xG7FaBjyLP6bNHdmdbK8LAPG3I"
Strict-Transport-Security: max-age=15724800; includeSubDomains
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment