Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试通过 AJAX 将凭据传递到 Domino 数据库,以使其自动登录并以 JSON 格式返回数据。
Domino 似乎在“?ReadViewEntries”之后切断了一切
http://www.Server.com/daterbase.nsfopen&login&username=USERNAME&password=THEPASSWORD&RedirectTo=daterbase.nsf/JSONBookView?ReadViewEntries&count=500&RestrictToCategory=MYCATEGORY&outputformat=json ";
提前致谢!麦克风
RedirectTo 查询字符串参数需要进行 URL 编码,以便服务器将“&count=500...”视为 RedirectTo 值的一部分,而不是原始页面的查询字符串参数。
例如,使用:
http://www.Server.com/daterbase.nsfopen&login&username=USERNAME&password=THEPASSWORD&RedirectTo=daterbase.nsf/JSONBookView?daterbase.nsf%2FJSONBookView%3FReadViewEntries%26count%3D500%26RestrictToCategory%3DMYCATEGORY%26outputformat%3Djson%22