I am trying to Create Services to Create Node Type Discussion in a Group using Services Module, but getting the error : 401 Unauthorized : Missing required argument node
In the Header I have given:
Content-type:application/json
x-csrf-token:token value
session-name:session name value
In the Body I have given :
{
"og_group_ref": {"und": [{"target_id": "3897"}]},
"title": "Title of discussion",
"field_description": {"und": [{"value": "test description"}]},
"type": "discussion",
}
Can anyone please tell me why I am getting this error ?
{"node":{"og_group_ref": {"und": [{"target_id": "3897"}]},"title": "Title of discussion","field_description": {"und": [{"value": "test description"}]},"type": "discussion"}}