Test the 602TechSec Security API with single-use keys.
Generate a key and start testing instantly.
No account required.
Generate a single-use API key to test the verification endpoint. The key expires after 15 minutes or after one use.
# Sandbox: Verify a request using your sandbox API key curl -X POST "https://sandbox.sec.602.tech/api/security/verify" \ -H "Content-Type: application/json" \ -H "X-Api-Key: YOUR_API_KEY" \ -d '{ "hostname": "example.com", "path": "/api/data", "ipAddress": "192.168.1.100" }'
// Sandbox: Verify a request using fetch API const response = await fetch('https://sandbox.sec.602.tech/api/security/verify', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Api-Key': 'YOUR_API_KEY' }, body: JSON.stringify({ hostname: 'example.com', path: '/api/data', ipAddress: '192.168.1.100' }) }); const result = await response.json(); if (result.isAllowed) { // Request is allowed } else { // Request is denied: result.reason }
// Sandbox: Verify a request using HttpClient using var client = new HttpClient(); client.DefaultRequestHeaders.Add("X-Api-Key", "YOUR_API_KEY"); var request = new { hostname = "example.com", path = "/api/data", ipAddress = "192.168.1.100" }; var json = JsonSerializer.Serialize(request); var content = new StringContent(json, Encoding.UTF8, "application/json"); var response = await client.PostAsync( "https://sandbox.sec.602.tech/api/security/verify", content); var result = await response.Content.ReadAsStringAsync();
' Sandbox: Verify a request using HttpClient Using client As New HttpClient() client.DefaultRequestHeaders.Add("X-Api-Key", "YOUR_API_KEY") Dim request = New With { .hostname = "example.com", .path = "/api/data", .ipAddress = "192.168.1.100" } Dim json = JsonSerializer.Serialize(request) Dim content = New StringContent(json, Encoding.UTF8, "application/json") Dim response = Await client.PostAsync( "https://sandbox.sec.602.tech/api/security/verify", content) End Using
Need a production key?
Sign Up / Login