79832458

Date: 2025-11-28 10:28:22
Score: 3
Natty:
Report link

With the given code , it will work fine if you use the import lombok.Data; in ProductRequest.
The possibility of 400 Bad Request is may be of your input type mismatch.

sample json request body

{
    "name": "Laptop",
    "price": 999.99
}

Still getting the error please share your log details

Reasons:
  • RegEx Blacklisted phrase (2.5): please share your
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: mariya cherian