Created
September 27, 2025 14:27
-
-
Save CyberAustin/d2fbb4fb26d01a239e51aab127bee2d8 to your computer and use it in GitHub Desktop.
curl output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| austin@redacted-hostname:/app $ curl "https://192.168.2.231:8043/openapi/v1/redacted-OmadaID/sites/redacted-siteID/clients/RE-DA-CT-ED-00-00/ratelimit" -X PATCH -H 'content-type:application/json' -H 'Authorization:Acce | |
| ssToken=AT-redacted-accessToken' -d '{"rateLimitId":"rate-limit-1","enable":"true","upEnable":"true","upUnit":1,"upLimit":50,"downEnable":"true","downUnit":1,"downLimit":50}' -i -k --insecure | |
| HTTP/1.1 200 | |
| X-Frame-Options: SAMEORIGIN | |
| X-Content-Type-Options: nosniff | |
| Content-Security-Policy: default-src 'self' https://*.tplinkcloud.com/;script-src 'self' 'unsafe-eval' 'sha256-7W9UiBaYGlOHpT1aQBLegqffUVHbYq6/ZAb+ErjUb40=' 'sha256-VGQ8jNTL2g0e8wPwOgyCQJDqhuRgfV7gRYexcBkBe4Y=' 'sha256-x2jgB1zBLi30IsfY+VNgWjwBGeHPJxOSrzl+IdsT6k0=' 'sha256-0AHZXO4clnpdcxqdmASPBEp4JCIrtaxIX/mUuL1kzZw=' 'sha256-lfXlPY3+MCPOPb4mrw1Y961+745U3WlDQVcOXdchSQc=';style-src 'self' 'unsafe-inline';connect-src 'self' https://*.tplinkcloud.com/ https://*.tplinkcloud.com:8843/ wss://*.tplinkcloud.com/ https://*.tiles.mapbox.com https://api.mapbox.com https://events.mapbox.com ;frame-src 'self' data:;img-src 'self' https://*.tplinkcloud.com/ https://*.mzstatic.com/ https://play-lh.googleusercontent.com/ data: blob:;child-src blob: ;worker-src blob: ;media-src 'self' https://*.tplinkcloud.com/ data: blob:;object-src 'self' data: blob: | |
| Strict-Transport-Security: max-age=0; includeSubDomains | |
| Referrer-Policy: strict-origin-when-cross-origin | |
| Content-Type: application/json | |
| Transfer-Encoding: chunked | |
| Date: Sat, 27 Sep 2025 14:17:14 GMT | |
| {"errorCode":-1001,"msg":"Parameter [mode] could not be null.\n"} austin@redacted-hostname:/app $ curl "https://192.168.2.231:8043/openapi/v1/redacted-OmadaID/sites/redacted-siteID/clients/RE-DA-CT-ED-00-00/ratelimit" -X PATCH -H 'content-type:application/json' -H | |
| austin@redacted-hostname:/app $ curl "https://192.168.2.231:8043/openapi/v1/redacted-OmadaID/sites/redacted-siteID/clients/RE-DA-CT-ED-00-00/ratelimit" -X PATCH -H 'content-type:application/json' -H 'Authorization:AccessToken=AT-redacted-accessToken' -d '{"rateLimitId":"rate-limit-1","enable":"true","upEnable":"true","upUnit":1,"upLimit":50,"downEnable":"true","downUnit":1,"downLimit":50, "mode":"yes"}' -i -k --insecure | |
| HTTP/1.1 400 | |
| X-Frame-Options: SAMEORIGIN | |
| X-Content-Type-Options: nosniff | |
| Content-Security-Policy: default-src 'self' https://*.tplinkcloud.com/;script-src 'self' 'unsafe-eval' 'sha256-7W9UiBaYGlOHpT1aQBLegqffUVHbYq6/ZAb+ErjUb40=' 'sha256-VGQ8jNTL2g0e8wPwOgyCQJDqhuRgfV7gRYexcBkBe4Y=' 'sha256-x2jgB1zBLi30IsfY+VNgWjwBGeHPJxOSrzl+IdsT6k0=' 'sha256-0AHZXO4clnpdcxqdmASPBEp4JCIrtaxIX/mUuL1kzZw=' 'sha256-lfXlPY3+MCPOPb4mrw1Y961+745U3WlDQVcOXdchSQc=';style-src 'self' 'unsafe-inline';connect-src 'self' https://*.tplinkcloud.com/ https://*.tplinkcloud.com:8843/ wss://*.tplinkcloud.com/ https://*.tiles.mapbox.com https://api.mapbox.com https://events.mapbox.com ;frame-src 'self' data:;img-src 'self' https://*.tplinkcloud.com/ https://*.mzstatic.com/ https://play-lh.googleusercontent.com/ data: blob:;child-src blob: ;worker-src blob: ;media-src 'self' https://*.tplinkcloud.com/ data: blob:;object-src 'self' data: blob: | |
| Strict-Transport-Security: max-age=0; includeSubDomains | |
| Referrer-Policy: strict-origin-when-cross-origin | |
| Content-Type: application/json | |
| Transfer-Encoding: chunked | |
| Date: Sat, 27 Sep 2025 14:17:37 GMT | |
| Connection: close | |
| {"timestamp":1758982657353,"status":400,"error":"Bad Request","path":"/openapi/v1/redacted-OmadaID/sites/redacted-siteID/clients/RE-DA-CT-ED-00-00/ratelimit"} austin@redacted-hostname:/app $ curl "https://192.168.2.231:8043/openapi/v1/redacted-OmadaID/sites/redacted-siteID/clients/RE-DA-CT-ED-00-00/ratelimit" -X PATCH -H 'content-type:application/json' -H 'Authorization:AccessToken=AT-redacted-accessToken' -d '{"rateLimitId":"rate-limit-1","enable":"true","upEnable":"true","upUnit":1,"upLimit":50,"downEnable":"true","downUnit":1,"downLimit":50, "mode":1}' -i -k --insecure | |
| HTTP/1.1 200 | |
| X-Frame-Options: SAMEORIGIN | |
| X-Content-Type-Options: nosniff | |
| Content-Security-Policy: default-src 'self' https://*.tplinkcloud.com/;script-src 'self' 'unsafe-eval' 'sha256-7W9UiBaYGlOHpT1aQBLegqffUVHbYq6/ZAb+ErjUb40=' 'sha256-VGQ8jNTL2g0e8wPwOgyCQJDqhuRgfV7gRYexcBkBe4Y=' 'sha256-x2jgB1zBLi30IsfY+VNgWjwBGeHPJxOSrzl+IdsT6k0=' 'sha256-0AHZXO4clnpdcxqdmASPBEp4JCIrtaxIX/mUuL1kzZw=' 'sha256-lfXlPY3+MCPOPb4mrw1Y961+745U3WlDQVcOXdchSQc=';style-src 'self' 'unsafe-inline';connect-src 'self' https://*.tplinkcloud.com/ https://*.tplinkcloud.com:8843/ wss://*.tplinkcloud.com/ https://*.tiles.mapbox.com https://api.mapbox.com https://events.mapbox.com ;frame-src 'self' data:;img-src 'self' https://*.tplinkcloud.com/ https://*.mzstatic.com/ https://play-lh.googleusercontent.com/ data: blob:;child-src blob: ;worker-src blob: ;media-src 'self' https://*.tplinkcloud.com/ data: blob:;object-src 'self' data: blob: | |
| Strict-Transport-Security: max-age=0; includeSubDomains | |
| Referrer-Policy: strict-origin-when-cross-origin | |
| Content-Type: application/json | |
| Transfer-Encoding: chunked | |
| Date: Sat, 27 Sep 2025 14:17:44 GMT | |
| {"errorCode":-1001,"msg":"Invalid request parameters."} austin@redacted-hostname:/app $ curl "https://192.168.2.231:8043/openapi/v1/redacted-OmadaID/sites/redacted-siteID/clients/RE-DA-CT-ED-00-00/ratelimit" -X PATCH -H 'content-type:application/json' -H 'Authoriz | |
| austin@redacted-hostname:/app $ curl "https://192.168.2.231:8043/openapi/v1/redacted-OmadaID/sites/redacted-siteID/clients/RE-DA-CT-ED-00-00/ratelimit" -X PATCH -H 'content-type:application/json' -H 'Authorization:AccessToken=AT-redacted-accessToken' -d '{"rateLimitId":"rate-limit-1","enable":"true","upEnable":"true","upUnit":1,"upLimit":50,"downEnable":"true","downUnit":1,"downLimit":50, "mode":0}' -i -k --insecure | |
| HTTP/1.1 200 | |
| X-Frame-Options: SAMEORIGIN | |
| X-Content-Type-Options: nosniff | |
| Content-Security-Policy: default-src 'self' https://*.tplinkcloud.com/;script-src 'self' 'unsafe-eval' 'sha256-7W9UiBaYGlOHpT1aQBLegqffUVHbYq6/ZAb+ErjUb40=' 'sha256-VGQ8jNTL2g0e8wPwOgyCQJDqhuRgfV7gRYexcBkBe4Y=' 'sha256-x2jgB1zBLi30IsfY+VNgWjwBGeHPJxOSrzl+IdsT6k0=' 'sha256-0AHZXO4clnpdcxqdmASPBEp4JCIrtaxIX/mUuL1kzZw=' 'sha256-lfXlPY3+MCPOPb4mrw1Y961+745U3WlDQVcOXdchSQc=';style-src 'self' 'unsafe-inline';connect-src 'self' https://*.tplinkcloud.com/ https://*.tplinkcloud.com:8843/ wss://*.tplinkcloud.com/ https://*.tiles.mapbox.com https://api.mapbox.com https://events.mapbox.com ;frame-src 'self' data:;img-src 'self' https://*.tplinkcloud.com/ https://*.mzstatic.com/ https://play-lh.googleusercontent.com/ data: blob:;child-src blob: ;worker-src blob: ;media-src 'self' https://*.tplinkcloud.com/ data: blob:;object-src 'self' data: blob: | |
| Strict-Transport-Security: max-age=0; includeSubDomains | |
| Referrer-Policy: strict-origin-when-cross-origin | |
| Content-Type: application/json | |
| Transfer-Encoding: chunked | |
| Date: Sat, 27 Sep 2025 14:17:57 GMT | |
| {"errorCode":-1001,"msg":"Invalid request parameters."} austin@redacted-hostname:/app $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment