trifid/api/v2/whoami.txt

66 lines
2.5 KiB
Plaintext
Raw Permalink Normal View History

GET /v2/whoami HTTP/2
Host: api.defined.net
Sec-Ch-Ua: "Chromium";v="109", "Not_A Brand";v="99"
Accept: application/json
Content-Type: application/json
Sec-Ch-Ua-Mobile: ?0
Authorization: Bearer sess-CcSodB65KzkdJuPzdp-A-vdDx2P-Vxsynpk_LTGPUmw
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.75 Safari/537.36
Sec-Ch-Ua-Platform: "Linux"
Origin: https://admin.defined.net
Sec-Fetch-Site: same-site
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
HTTP/2 200 OK
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: https://admin.defined.net
Access-Control-Expose-Headers: X-Request-Id
Cache-Control: no-store
Content-Security-Policy: default-src 'none'
Content-Type: application/json; charset=utf-8
Strict-Transport-Security: max-age=31536000; includeSubdomains
Vary: Origin
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-Request-Id: 7DDYV6APLCCTOZO6XUDGLP5YVU
Content-Length: 237
Date: Fri, 03 Feb 2023 14:37:53 GMT
{"data":{"actorType":"user","actor":{"id":"user-RTE7XCR7BBLZAPP7S3RCVME7FM","organizationID":"org-4QN6JAFFP6QKV2ZY75Z6MGKDGQ","email":"c0repwn3r@gmail.com","createdAt":"2023-02-03T14:35:11Z","hasTOTPAuthenticator":false}},"metadata":{}}
GET /v2/whoami HTTP/2
Host: api.defined.net
Sec-Ch-Ua: "Chromium";v="109", "Not_A Brand";v="99"
Accept: application/json
Content-Type: application/json
Sec-Ch-Ua-Mobile: ?0
Authorization: Bearer sess-CcSodB65KzkdJuPzdp-A-vdDx2P-Vxsynpk_LTGPUmw
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.75 Safari/537.36
Sec-Ch-Ua-Platform: "Linux"
Origin: https://admin.defined.net
Sec-Fetch-Site: same-site
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
HTTP/2 200 OK
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: https://admin.defined.net
Access-Control-Expose-Headers: X-Request-Id
Cache-Control: no-store
Content-Security-Policy: default-src 'none'
Content-Type: application/json; charset=utf-8
Strict-Transport-Security: max-age=31536000; includeSubdomains
Vary: Origin
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-Request-Id: UVEERC3K5QJV3PJINRP2RAJ3IY
Content-Length: 236
Date: Fri, 03 Feb 2023 15:25:26 GMT
{"data":{"actorType":"user","actor":{"id":"user-RTE7XCR7BBLZAPP7S3RCVME7FM","organizationID":"org-4QN6JAFFP6QKV2ZY75Z6MGKDGQ","email":"c0repwn3r@gmail.com","createdAt":"2023-02-03T14:35:11Z","hasTOTPAuthenticator":true}},"metadata":{}}