Serves static files directly from the root web directory.
Browser Test: /index.htmlcurl https://www.cxprotect.com/index.html
curl -x 127.0.0.1:8080 -I https://www.cxprotect.com/index.html
Standard HTML multipart/form-data interface for single file uploads.
Browser Test: /upload-formcurl -X POST -F "file=@/path/to/local/file.txt" https://www.cxprotect.com/upload
curl -x 127.0.0.1:8080 -X POST -F "file=@/path/to/local/file.txt" https://www.cxprotect.com/upload
Upload multiple files simultaneously using the files field name.
curl -X POST -F "files=@file1.txt" -F "files=@file2.txt" https://www.cxprotect.com/upload-multiple
curl -x 127.0.0.1:8080 -X POST -F "files=@file1.txt" -F "files=@file2.txt" https://www.cxprotect.com/upload-multiple
Upload raw binary data. Requires specific Content-Type headers.
curl -X POST --data-binary "@/path/to/file.zip" -H "Content-Type: application/zip" "https://www.cxprotect.com/upload-direct?filename=test.zip"
curl -x 127.0.0.1:8080 -X POST --data-binary "@/path/to/file.zip" -H "Content-Type: application/zip" "https://www.cxprotect.com/upload-direct?filename=test.zip"
Returns a metadata list of files in the download directory.
Browser Test: /downloads (JSON)curl "https://www.cxprotect.com/downloads?type=file&sort=name"
curl -x 127.0.0.1:8080 "https://www.cxprotect.com/downloads?type=file&sort=name"
Download actual sample files. Supports HTTP Range requests for partial download testing.
curl -H "Range: bytes=0-1048576" https://www.cxprotect.com/downloads/swgaudit.exe -o partial.exe
curl -x 127.0.0.1:8080 -H "Range: bytes=0-1048576" https://www.cxprotect.com/downloads/swgaudit.exe -o partial.exe
Simulates a server-side wait. Useful for testing timeout thresholds.
Browser Test: 5s Delaycurl https://www.cxprotect.com/simulate_delay/10
curl -x 127.0.0.1:8080 https://www.cxprotect.com/simulate_delay/10
Forces the server to return a specific code (100-599).
Browser Test: Status 418curl https://www.cxprotect.com/status/500
curl -x 127.0.0.1:8080 -i https://www.cxprotect.com/status/500
Returns a status code (default 204) with an empty body.
Browser Test: 403 No Bodycurl "https://www.cxprotect.com/no_response?code=204"
curl -x 127.0.0.1:8080 -i "https://www.cxprotect.com/no_response?code=204"
Streams response content in chunks with 1-second intervals.
Browser Test: Stream Datacurl -N https://www.cxprotect.com/transfer-encoding
curl -x 127.0.0.1:8080 -i -N https://www.cxprotect.com/transfer-encoding
Tests gzip and deflate compression handling.
curl -H "Accept-Encoding: gzip" --compressed https://www.cxprotect.com/compressed-data
curl -x 127.0.0.1:8080 -H "Accept-Encoding: gzip" --compressed https://www.cxprotect.com/compressed-data
Generates random data of specific size (e.g., 500, 10K, 2M, 1G).
Browser Test: 100KB Randomcurl https://www.cxprotect.com/content-size/1M
curl -x 127.0.0.1:8080 https://www.cxprotect.com/content-size/1M
Testing for Blob URL generation and Web Workers.
Browser Test: Blob Generatorcurl "https://www.cxprotect.com/blob?size=1024&filename=test.bin"
curl -x 127.0.0.1:8080 "https://www.cxprotect.com/blob?size=1024&filename=test.bin"
Comprehensive interactive page for testing multiple CSP directives.
Browser Test: Launch CSP Labcurl https://www.cxprotect.com/testcsp
curl -x 127.0.0.1:8080 -I https://www.cxprotect.com/testcsp
Specific testing for require-trusted-types-for 'script'.
curl https://www.cxprotect.com/csp_tt
curl -x 127.0.0.1:8080 -I https://www.cxprotect.com/csp_tt
Endpoint that receives and logs CSP violation reports (POST).
curl -X POST -H "Content-Type: application/csp-report" -d '{"csp-report":{"document-uri":"https://www.cxprotect.com/testcsp","violated-directive":"script-src"}}' https://www.cxprotect.com/csp_reports
curl -x 127.0.0.1:8080 -X POST -H "Content-Type: application/csp-report" -d '{"csp-report":{"document-uri":"https://www.cxprotect.com/testcsp","violated-directive":"script-src"}}' https://www.cxprotect.com/csp_reports