javascript - Sails response data -


sails returns object data:

{data: object, status: 201, config: object, statustext: "created"}

and in "data" attribute result of api. return result of api without object, if have done response.data.

thank , sorry english


Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -