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.
我正在尝试通过 Raspberry Pi 上的猫鼬将一些 JSON 数据发送到网页。我将数据发送到 pi 本身的端口 8080,但是当我将浏览器导航到 localhost:8080 时,它要求进行身份验证。我的身份验证应该是什么?
如果您没有明确设置global_auth_file和auth_domain选项,则身份验证基于您尝试访问的路径中的 .htpasswd。
global_auth_file
auth_domain
您可以禁用身份验证全局编译 mongoose -DMONGOOSE_NO_AUTH。
-DMONGOOSE_NO_AUTH