我是Restapi的新手。因此,我正在尝试测试一个项目以了解api。演示项目路径为: https://github.com/devangnaghera312/ci-rest-structure 我在postman(post方法)中编写链接“ http://localhost/ci-rest-structure-master/v1/user?fname=Devang&lname=naghera”以获取用户访问权限,但它表明缺少访问令牌。 您能告诉我为什么会发生此错误,以及如何访问api吗?在此先感谢您的努力。
我关注了一些youtube视频,例如 https://www.youtube.com/watch?v=ibEs4g1jGyc https://www.youtube.com/watch?v=X2i-rt0yxDQ&t=735s 但徒劳!