Gadget Trace

Gadget Trace API

curl http://localhost:4368/requests/{requestId} -d '{
  url: "https://example.com/api/thing",
  method: "GET",
  protocol: "https",
  requestHeaders: {}
  xhr: true,
  request: {}
  cookies: {}
  ip: "192.168.0.1",
  duration: 1.234,
  statusCode: 200
  responseHeaders: {}
  response: "<html>hello</html>",
  variables: [ { name: "variableName", value: "variableValue" } ]
}'