docker compose exec api python -c “import requests; response = requests.post('http://localhost:5001/console/api/login’, json={‘email’: ‘2132109465@qq.com’, ‘password’: ‘Dify123456’}); print(‘Status Code:’, response.status_code); print(‘Response:’, response.text\[:200\])”
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Docker-compose部署,redis配置不生效,连接redis报错,该怎么解决? | 1 | 197 | February 26, 2026 | |
| 部署好dify之后,在install页面反复跳转注册页 | 6 | 142 | January 26, 2026 | |
| Dify企业版,从3.5.6升级到3.6.0,之后,所有的接口请求都是401 Unauthorized了,{"code":"unauthorized","message":"CSRF token is missing or invalid.","status":401} | 0 | 283 | December 12, 2025 | |
| 求助,本地源码启动cors跨域401unauthorized | 3 | 311 | February 26, 2026 | |
| Docker-web-1报错,首页设置管理员账户总是被重定向 | 1 | 90 | January 28, 2026 | |
| Docker安装dify报错,有遇到的么 | 10 | 813 | April 28, 2026 | |
| 元数据库切换成mysql,无法登录 | 0 | 49 | February 3, 2026 | |
| Dify部署到本地服务器后只能注册一个账号吗? | 7 | 378 | January 10, 2026 | |
| Dify代码节点链接数据库报错,参数都没有问题 | 7 | 254 | January 22, 2026 | |
| 本地全新部署1.11后无法安装插件通义千问 | 5 | 579 | December 11, 2025 |