CGI Response Headers Builder
100% Client-Side
🌐 JSON REST API
📄 HTML + Secure Cookie
📦 PDF File Attachment
🔄 302 Redirect + CORS
Lenguaje / Script:
Python 3
Bash / Shell
Perl 5
C (POSIX)
MIME: application/json
Status: 200 OK
CORS: Enabled
Configuración de Cabeceras
📂 Cargar Ejemplo
Código de Estado (Status)
200 OK
201 Created
301 Moved Permanently
302 Found
400 Bad Request
401 Unauthorized
404 Not Found
500 Internal Server Error
Content-Type (MIME Type)
Access-Control-Allow-Origin
Cache-Control
Set-Cookie (Opcional)
Location (Para 301/302 Redirects)
Content-Disposition (Descargas)
Cuerpo de Respuesta (Body)
{ "status": "success", "timestamp": 178712399, "data": { "message": "API response from CGI script" } }
Script CGI (Python 3)
📋 Copy
⬇ Download