14.1.3 HTTP Request ¶
For web applications, the HTTP Request section captures request
details, providing context about the network interaction that led to the error:
- Method: HTTP method (e.g., GET, POST).
- URL: The requested URL, including query parameters if present.
- Request headers: All headers sent with the request, such as User-Agent or Content-Type.
- Request env: Additional environment variables, like remote address or server protocol.
- Request data: Any body data, such as form parameters or JSON payload (if captured).
This section maps to Sentry’s request
interface, which helps reproduce
errors by showing the exact request state. It’s particularly useful for
debugging API or web-related issues.