Hello sir!

Please sir , 
i will do the following: i thing in this case i uses Post method not Put mehod

type:student 
name: ashraf
age:37
_id:6789

-----
type: message
sender: Ali
title: "important information"
receiverid:6789
text : "---------"

in this case must i know the _id for a student to can send a message to him.
and in the Url to get all the messages for that person i will do the following:
http:// url/name of database/ _design/name of view/_view/student?key="6789"

is that correct ? please

Best regards
Ashraf

Reply via email to