我是Drupal技术的新手。我正在尝试创建用户注册rest API和邮递员测试。我已经尝试了多种解决方案。安装rest ui模块。已启用的注册API会根据指令进行更改,但每次都失败。
我的邮递员请求和响应是
Request:-
{
"name":{"value":"test"},
"mail":{"value":"test@gmail.com"},
"pass":{"value":"Pass@123"}
}回应:-
{
"message": "The used authentication method is not allowed on this route."
}链接:- HTTP://localhost/Project_name/user/register?_format=hal_json
请帮我解决这个问题。如果可能的话,告诉我一步一步的回答,这样我才能掌握最好的知识。
发布于 2020-11-10 21:54:11
使用以下URL注册用户:
HTTP://localhost/Project_name/entity/user?_format=jsonhttps://stackoverflow.com/questions/62678468
复制相似问题