I'm interacting my deployd server app over HTTP.
I am adding to an array using $push.
Is there a way to get the value pushed to the array?
Example:
PUT /upvotes/foo
{
"stories" : {"$push": "bar"}
}
On Put Script:
var pushedElement = ??? // I should be able to get "bar"
Thanks in advance.