Should SailsJS be throwing an HTTP error if a "required" model attribute is not passed into the automatically generated JSON API?
Or is this logic I must implement myself in the Controller?
Pat, what version are you on?
In 0.9, you should get an error response in this case.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the privacy policy and terms of service.
tagged
asked
2 months ago
viewed
85 times
active
1 month ago