Debug

Test a Tyk Classic or Tyk OAS API definition.

Changed on

Used to test API definition by sending sample request and analysing output of both response and logs.

post/tyk/debug

Request

  • Base URL
    https://localhost:8080
  • URL
    https://localhost:8080/tyk/debug
  • Auth
    API key in header X-Tyk-Authorization

Request body

OR

Response

Success tracing request.

logsstring
messagestring
responsestring

Example response

{
  "logs": "{\"level\":\"warning\",\"msg\":\"Legacy path detected! Upgrade to extended....",
  "message": "ok",
  "response": "====== Request ======\nGET / HTTP/1.1\r\nHost: httpbin.org\r\n\r\n\n====== Response..."
}

Changes

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • breaking

      removed from the request property oneOf list

    • info

      added to the request property oneOf list