java - How to print/log an Apache HttpClient request query string -


Is it possible to capture the actual query string that will be used for HTTP client requests (HTTP post, HTPT etc.) Either call to client.execute (request) before or after?

I want to do this because my request has failed and I want to debug the actual query string (this is the S3 file upload using HTTPS, so the parameters are complex).

Not sure that you tried to do this, but there are some logging settings in the HTTP client library You can enable



Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -