couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashraf Janan <>
Subject Put method
Date Thu, 26 Sep 2013 16:48:07 GMT
Please : 
I have a document field :  Student with :_id, _rev , name: "Tom" , age : "37" 
and i want to send message to Tom

* Can do please check if my steps are correct ? 

1- i must to use Get method to get  Tom document
2- then i will use Put method to send a message , in this case must i have the _id,_rev,name,age
+ message
    in the JSON form of that student.

* If i have the _id only for a student Tom,
  Can i send a message to Tom direct?

* Why i need to get all the fields in the Document Student to send a message ?

Best regards
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message