Response Body
View response bodies with automatic formatting and syntax highlighting.Automatic Language Detection
LiteClient automatically detects the response content type and applies appropriate syntax highlighting:- JSON
- XML
- HTML
- JavaScript
- Plain Text
JSON responses are automatically pretty-printed with syntax highlighting:
- Proper indentation for readability
- Color-coded keys, strings, numbers, and booleans
- Collapsible nested objects and arrays
Manual Formatting
Use the Format button in the response toolbar to manually trigger formatting:Manual formatting is useful when the automatic detection doesn’t recognize the content type correctly, or when you want to re-format minified responses.
Response Status
The response status bar displays key information about the request execution:Status Code and Text
- 2xx Success - Green indicator (e.g.,
200 OK,201 Created) - 3xx Redirection - Blue indicator (e.g.,
301 Moved Permanently,302 Found) - 4xx Client Error - Orange indicator (e.g.,
400 Bad Request,404 Not Found) - 5xx Server Error - Red indicator (e.g.,
500 Internal Server Error,503 Service Unavailable)
Execution Timing
The status bar shows the total request duration in milliseconds:- DNS resolution
- TCP connection
- TLS handshake (for HTTPS)
- Request transmission
- Server processing
- Response download
Response Headers
View all response headers in a dedicated tab:
Example headers:
Response Cookies
View cookies set by the server in the Cookies tab:Cookies are automatically sent on matching requests based on domain and path. See the Cookie Management page for details.
Test Results
When you use post-response scripts with tests, results appear in the Tests tab:Review Console Output
Console logs from scripts (
console.log, console.warn, etc.) appear in the test results.Test scripts use the Postman-compatible
pm API. See the Scripting page for details on writing tests.Request Cancellation
Cancel long-running requests before they complete:Click Cancel
If the request is taking too long, click the Cancel button that appears during execution.
Error Responses
When a request fails, LiteClient provides detailed error information:Network Errors
ECONNREFUSED- Server not running or port closedETIMEDOUT- Request timeout (server took too long)ENOTFOUND- DNS lookup failed (invalid domain)ECONNRESET- Connection reset by server
HTTP Errors
4xx and 5xx responses display the error status and body:Best Practices
Check status codes first
Check status codes first
Always review the status code before analyzing the response body. A 200 OK means success, while 4xx and 5xx indicate errors that need investigation.
Monitor response times
Monitor response times
Track execution times to identify slow endpoints. Consistently slow responses (>1000ms) may indicate performance issues or inefficient queries.
Review headers for debugging
Review headers for debugging
Headers contain valuable debugging information like rate limits, cache directives, and CORS settings. Check headers when troubleshooting issues.
Use test scripts for validation
Use test scripts for validation
Write post-response scripts to automatically validate status codes, response structure, and data integrity. This catches regressions early.
Save error responses
Save error responses
When debugging, save requests that produce errors to collections so you can easily reproduce and share the issue with your team.