路径:https://www.mysite.com/infi_services/user/register 使用邮递员应用程序
和json数据参数
{
"field_name_first__und__0__value":"ganesh ",
"field_name_first_und_0_value":"ganesh ",
"field_name_first[und][0][value]":"ganesh ",
"field_name_last__und__0__value":" ganesh",
"field_name_last_und_0_value":"ganesh",
"field_name_last[und][0][value]":"ganesh",
"mail":"mail@gmail.com",
"pass":"pass1",
"field_gender__und":"Male",
"account":{
"name":"username",
"pass":"password",
"mail":"test@test.com"
} }
我得到以下结果
<form_errors>
<field_name_first__und__0__value>First Name field is required.</field_name_first__und__0__value>
<field_name_last__und__0__value>Last Name field is required.</field_name_last__und__0__value>
</form_errors>
当我使用 f12 检查我的注册表单时,我看到名称为 field_name_first[und][0][value]的输入字段
如何传递此密钥以使此错误消失?
谢谢兰吉特·戈拉夫