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

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

python - 'NoneType' object is not callable using 'find_all' in BeautifulSoup -