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

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -