control

retrieve one log entry's request or response with its full body

Returns the request or the response of one log entry, by the entry's id, with its body in full. The dashboard shortens long bodies in its live updates and uses this to load a full body on demand. Secrets are redacted as in the log when redactSecretsInLog is on. Returns 404 once the entry has been cleared or evicted from the log.

get/mockserver/logEntryBody

Request

  • Base URL: http://localhost:1080
  • URL: http://localhost:1080/mockserver/logEntryBody
  • Auth: none declared

Query parameters

idstring required

the log entry's id (the dashboard sends it with each shortened body)

part'request' | 'response' required

which message of the entry to return

Response

the request (as httpRequest) or the response (as httpResponse)

httpRequestobject
httpResponseobject

Changes

No recorded changes to this operation across all 1 revision of this API.