izeye commented on PR #793:
URL: https://github.com/apache/tomcat/pull/793#issuecomment-2519950305

   @markt-asf Thanks for the feedback!
   
   Did you mean to say that the log only contains headers?
   
   With [this sample](https://github.com/izeye/hello-spring-boot/tree/web), if 
I send the following request:
   
   ```
   % curl -H "Content-Type: application/json" "http://localhost:8080/persons"; 
--data '{"firstName": "테스트1", "lastName": "테스트2"}'
   {"firstName":"테스트1","lastName":"테스트2"}
   %
   ```
   
   I can see the following log:
   
   ```
   2024-12-05T19:37:31.320+09:00 DEBUG 13943 --- [nio-8080-exec-1] 
o.a.coyote.http11.Http11InputBuffer      : Received [POST /persons HTTP/1.1
   Host: localhost:8080
   User-Agent: curl/7.87.0
   Accept: */*
   Content-Type: application/json
   Content-Length: 53
   
   {"firstName": "테스트1", "lastName": "테스트2"}]
   ```
   
   It contains the whole request including the request body in addition to the 
headers.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to