103 lines
3.9 KiB
Plaintext
103 lines
3.9 KiB
Plaintext
GET /v1/networks 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 auth-O7mugxdYta-RKtLMqDW4j8XCJ85EfZKKezeZZXBYtFQ
|
|
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: KXAKSGX74JSFA7E23C6ZXVHS4Y
|
|
Content-Length: 26
|
|
Date: Fri, 03 Feb 2023 15:26:00 GMT
|
|
|
|
{"data":[],"metadata":{}}
|
|
|
|
|
|
POST /v1/networks HTTP/2
|
|
Host: api.defined.net
|
|
Content-Length: 41
|
|
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 auth-O7mugxdYta-RKtLMqDW4j8XCJ85EfZKKezeZZXBYtFQ
|
|
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
|
|
|
|
{"name":"Network1","cidr":"10.16.0.0/15"}
|
|
|
|
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: TA6YDSDIHGP7FR26NXXVIGGLIY
|
|
Content-Length: 265
|
|
Date: Fri, 03 Feb 2023 15:28:39 GMT
|
|
|
|
{"data":{"cidr":"10.16.0.0/15","id":"network-SQC5D2FCFI7SQEV24VNIIV6ORI","organizationID":"org-4QN6JAFFP6QKV2ZY75Z6MGKDGQ","signingCAID":"ca-NDFFPI2L4Z5WHMWB5R7HTAMM3U","name":"Network1","lighthousesAsRelays":true,"createdAt":"2023-02-03T15:28:39Z"},"metadata":{}}
|
|
|
|
GET /v1/networks 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 auth-O7mugxdYta-RKtLMqDW4j8XCJ85EfZKKezeZZXBYtFQ
|
|
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: X2KWLEM2N36WTNFPLS55JZUQX4
|
|
Content-Length: 267
|
|
Date: Fri, 03 Feb 2023 15:29:05 GMT
|
|
|
|
{"data":[{"cidr":"10.16.0.0/15","id":"network-SQC5D2FCFI7SQEV24VNIIV6ORI","organizationID":"org-4QN6JAFFP6QKV2ZY75Z6MGKDGQ","signingCAID":"ca-NDFFPI2L4Z5WHMWB5R7HTAMM3U","name":"Network1","lighthousesAsRelays":true,"createdAt":"2023-02-03T15:28:39Z"}],"metadata":{}}
|