node.js - Sails JS Model Rest API -
I am new to sails.js and am looking for something weird. I've created a model user like:
Apple API generates the user so I have access to it:
http: // localhost: 1337 / user / and
http: // localhost: 1337 / user / create? Name = Joe and test = true but why does Pal allow me to add any area to this type of model:
http: / / Localhost: 1337 / user / create? Name API / Modal / User Teto and Oak Two in JS are not under my model
I miss something if someone can help me understand this. For me sails.js only have to save those fields that I put on the model: throw the attributes file or an exception
You can limit only those models that are specific in the model.
Comments
Post a Comment