Services 3.xとJSONを使用してコメントとノードを作成する
/comment.jsonへのPOSTを認識するサービスを取得できません。ノードの作成にも同様の問題があります。 以下は、私が受け取るエラーです:HTTP / 1.1 406 Not Acceptable:Missing required argument comment このメッセージは、ファイル/services/server/rest_server/includes/RESTServer.incから送信されます。具体的には、次の行です。 elseif (!isset($info['optional']) || !$info['optional']) { return services_error(t('Missing required argument !arg', array( '!arg' => $info['name'], )), 406); } 基本的に、「コメント」引数が欠落していると考えられているようです(オプションではありません)。 これは私が与えたJSONのビットの1つです(ノード8801にコメントを投稿) {name:"test",language:"und",cid:"0",pid:"0",uid:"17593",nid:"8801", comment:{subject:"Subject of the comment, if not entered it will be auto-generated", comment_body: {und:[ [{value:"value of the field comment in …