0

I just discovered, rediscovered actually, that with the JHipster project when you create an entity you are forced to start each variable name as lowercase, otherwise when you try to use the POST REST call the console responds with "Failed to load resource: the server responded with a status of 400 (Bad Request)". This seems like an odd error, is this across the board for REST calls or a JHipster specific problem? I don't want to report it as a bug if this is something that is a REST-wide syntax requirement.

Built In Parris
  • 179
  • 1
  • 3
  • 19

1 Answers1

1

Using lowercase variable names is a Java convention when developing POJOs. Here's another Stack Overflow question that might help explain these conventions:

Where is the JavaBean property naming convention defined?

Community
  • 1
  • 1
Matt Raible
  • 8,187
  • 9
  • 61
  • 120