postman 导入环境获取接口数据报错

《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
讨论数量: 3
liyu001989

你先确认一下 http://larabbs.test/api/topics 能不能正常访问,用的是 homestead 吗

5年前 评论
taowendi

是用的homestead larabbs我是直接从git上拉取的, http://larabbs.test可以访问 http://larabbs.test/api/topics不能访问,哪里出错了

5年前 评论
mylaravelgit 4年前

@liyu001989 我也遇到同样的问题,报错是{"message":"array_combine(): Both parameters should have an equal number of elements","status_code":500},下载的API分支,切换到L03_5.8分支,按步骤到这里就报错了,访问 http://larabbs.test 没问题,http://larabbs.test/api/topics 就报错, 请问要怎么解决

4年前 评论
liyu001989 4年前
mylaravelgit (作者) 4年前
liyu001989 4年前
niushuangmeng 4年前

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!