Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When the request method is x-www-form-urlencoded, Spring Boot cannot receive parameters using entity classes #1874

Open
bytefox1024 opened this issue Jul 28, 2024 · 1 comment
Labels

Comments

@bytefox1024
Copy link

Description

After introducing Logbook, I found that the interface could not accept form data, but there were form data records in Logbook's request log.
C7B029D5-61B5-46D9-BA41-7AB1F6B826CD
F7BE41F5-C9B4-4F72-AE5D-8BAF26077CF1

The logbook request log clearly records the request parameters.
20240728195250

After removing logbook from the project, I can receive request parameters.
20240728194929

Possible Fix

I want to confirm if this is a bug or if it doesn't support content type=application/x-www-form-urlencoded.

Your Environment

  • springboot 2.7.18 / logbook 3.9.0
  • properties
    20240728200820
@bytefox1024
Copy link
Author

When I switch to content type=application/form data, the interface can receive parameters.
20240728201435
20240728201639
20240728201804

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant