Return session debug logs in a REST response
-
- UpdatedJan 30, 2025
- 1 minute read
- Yokohama
- API implementation
You can include session debug logs in a REST response body by passing the X-WantSessionDebugMessages header in the request.
To return session debug messages when session debugging is enabled for the current session, set the header X-WantSessionDebugMessages to true in the REST request.
Note: You must enable session debugging before sending this header.
Example: Request
This example demonstrates a Table API request made using REST API Explorer with Session Debug SQL enabled.
Example: Response body
Related Content
- Session debug
Enable session debugging to display debugging messages in the user interface.