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