How to dump an HTTP request from within Sinatra?

Viewed 27941

Is there a way to dump all incoming requests to a Sinatra application in the exact way the application receives the data? Maybe some sort of Rack middleware?

2 Answers
Related