Lotus Notes Domino Redirect

拜拜、爱过 提交于 2019-12-24 07:58:12

问题


I am trying to pass credentials via AJAX to a Domino Database to have it automatically login and return Data in JSON.

Domino seems to chop off everthing after the "?ReadViewEntries"

http://www.Server.com/daterbase.nsfopen&login&username=USERNAME&password=THEPASSWORD&RedirectTo=daterbase.nsf/JSONBookView?ReadViewEntries&count=500&RestrictToCategory=MYCATEGORY&outputformat=json";

Thanks in Advance! Mike


回答1:


The RedirectTo query string argument needs to be URL Encoded so that the server sees the "&count=500..." as part of the RedirectTo value rather than as query string arguments to the original page.

For example, use:

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



来源:https://stackoverflow.com/questions/4805878/lotus-notes-domino-redirect

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!