"require-session-token = true" 和 "require-authentication="anonymous-all" 属性在进行 Restful post 调用时定义的行为
behavior with "require-session-token = true" and "require-authentication="anonymous-all" attribute defined when making Restful post call
当 post Restful 调用(既未提供 api_key 也未在 HTTP header 中提供身份验证信息)发送到 "require-session-token = true" 所在的服务器和 "require-authentication='anonymous-all' " 属性被定义,Moqui 给出'Session token required (in moquiSessionToken) ...'消息。这种行为是故意设计的吗?
由于没有人回答这个问题,我想这是故意设计的。尽管您执行 post RESTful 调用,这在服务器上应该是无状态的,但您必须在 http 请求中提供 api_key 或 authtenticaiton 信息才能摆脱会话令牌需要(在 moquiSessionToken 中)...' 消息。
当 post Restful 调用(既未提供 api_key 也未在 HTTP header 中提供身份验证信息)发送到 "require-session-token = true" 所在的服务器和 "require-authentication='anonymous-all' " 属性被定义,Moqui 给出'Session token required (in moquiSessionToken) ...'消息。这种行为是故意设计的吗?
由于没有人回答这个问题,我想这是故意设计的。尽管您执行 post RESTful 调用,这在服务器上应该是无状态的,但您必须在 http 请求中提供 api_key 或 authtenticaiton 信息才能摆脱会话令牌需要(在 moquiSessionToken 中)...' 消息。