使⽤Laravel 8
PHP主流框架打造
RESTful API使⽤Laravel 8 PHP主流框架打造 RESTful API ⾃我介紹 • 王盛立 • 出版過⼀本 使⽤Laravel 8 PHP主流框架打造RESTful API(iT邦幫忙鐵⼈賽系列書) • 浪浪的事 Side Project https://langlangthing.com/ 今⽇菜單 ⾃我介紹 RESTful API Laravel程式範例說明 延伸補充資料 延伸補充資料 前後端分離 WEB API RESTful API 是什麼 Representational state transfer (REST) 表現層狀態轉換 Client Server REQUEST RESPONSE GET https://localhost/api/v1/articles/1 HTTP STATUS : 200 OK HTTP 協定 HTTP VERBS 14:07:22", "updated_at": "2021-09-08 14:07:22" } } 201 CREATED https://localhost/api/v1/articles Headers Headers Body Body REQUEST RESPONSE JSON Accept : application/json Content-Type0 码力 | 22 页 | 3.41 MB | 1 年前3
Apifox API文档、API调试、API Mock、API自动化测试一体化协作平台节省研发团队的每一分钟 API 设计、开发、测试 一体化协作平台 行业情况 API !" #$%&' !"# $% DevOps # '()# *+#,- 缺乏合适的 技术和工具 最大障碍 !" API # $%& '( API ) * 常用解决方案 API 开发调试 Postman API 自动化测试 API 压力测试 JMeter API 文档设计 Swagger Swagger API 数据Mock Mock.js 测试人员 API 设计者 前端开发 后端开发 存在问题 多系统 数据不互通 数据一致性 困难 效率 低 学习成 本高 无法团 队协作 每次变更,都需要不同角色手动去多套系统 修改,维护一致性非常困难。时间久了,不 一致性越来越严重,最终不可维护。 单机离线使用为主,成员之间无法实 时同步数据,无法协作。 可视化程度低、操作不友好。 可视化程度低、操作不友好。 初学者难以入手,需要大量的学习成 本、培训成本。 API设计者、前端开发、后端开发、 测试人员大量重复工作。 Apifox = Postman + Swagger + Mock + JMeter 核心功能 更多特性 解决的问题 1. 一套系统、一份数据,解决多个系统之间的数据同步问题。 2. 只要定义好接口文档,接口调试、数据 Mock、接口测试即可直接使用,0 码力 | 44 页 | 12.45 MB | 1 年前3
Hidden Overhead of a Function APIperformance, we typically think about the function logic. We’ll see that a well designed function API can have an even larger impact.How will we compare performance? ● Benchmarks at this low level are advance(RandIter& iter, Diff n, random_access_iterator_tag) { iter += n; } ● Access token to make some API available only inside the library (like the default “package private” access modifier in Java) Empty0 码力 | 158 页 | 2.46 MB | 6 月前3
Apifox - API调试、API Mock、API自动化测试一体化协作平台API 设计、开发、测试 一体化协作平台 广州睿狐信息科技有限公司 Apifox Inc. apifox.com 节省研发团队的每一分钟 Apifox(广州睿狐信息科技有限公司)成立于 2021 年,是一家专注于企业 API 研发管理工具及解决方案 的创新企业。围绕 API 全生命周期协同与管理需求, 提供 API 文档、API 调试、API Mock、API 自动化 测试 测试等核心产品能力,致力于为全球研发团队提高 API 开发与协作效率,节省研发团队的每一分钟,助 力企业研发效能升级。 关于 Apifox 获得知名创投机构信任与支持 超百万开发者的选择 130 万+ 开发者用户 数百家大型企业客户 Apifox,一体化 API 协作平台 秉承 “API First” 的先进理念,为 API 的开发协作带来全新体验 过去的 API 协同 ❌ 可视化程度低,学习成本⾼ 以⼀致性提⾼软件的质量,简化企业 API 治理 ⾯向未来的 API 协同 API 设计者 后端开发 前端开发 测试工程师 API 设计者 后端开发 前端开发 测试工程师 开放能⼒ 开放 API Webhook SSO/LDAP Apifox 产品能⼒矩阵 同 一 套 数 据 API Mock 智能 Mock 本地/云端 Mock ⾃定义规则 兼容 Mock.js API 调试 可视化调试0 码力 | 27 页 | 14.01 MB | 1 年前3
Flask-RESTful Documentation
Release 0.3.10Flask-RESTful Documentation Release 0.3.10 Kyle Conroy, Ryan Horn, Frank Stratton May 21, 2023 Contents 1 User’s Guide 3 1.1 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 1.5 Extending Flask-RESTful . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.6 Intermediate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 2 API Reference 27 2.1 API Docs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 39 页 | 212.29 KB | 1 年前3
Flask-RESTful Documentation
Release 0.3.6Flask-RESTful Documentation Release 0.3.6 Kyle Conroy, Ryan Horn, Frank Stratton Nov 06, 2017 Contents 1 User’s Guide 3 1.1 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 1.5 Extending Flask-RESTful . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.6 Intermediate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 2 API Reference 27 2.1 API Docs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 46 页 | 245.60 KB | 1 年前3
Flask-RESTful Documentation
Release 0.3.7Flask-RESTful Documentation Release 0.3.7 Kyle Conroy, Ryan Horn, Frank Stratton Feb 06, 2020 Contents 1 User’s Guide 3 1.1 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 1.5 Extending Flask-RESTful . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.6 Intermediate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 2 API Reference 27 2.1 API Docs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 50 页 | 253.09 KB | 1 年前3
Flask-RESTful Documentation
Release 0.3.8Flask-RESTful Documentation Release 0.3.8 Kyle Conroy, Ryan Horn, Frank Stratton Feb 06, 2020 Contents 1 User’s Guide 3 1.1 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 1.5 Extending Flask-RESTful . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.6 Intermediate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 2 API Reference 27 2.1 API Docs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 50 页 | 253.64 KB | 1 年前3
Flask-RESTful Documentation Release 0.3.10Flask-RESTful Flask-RESTful is an extension for Flask that adds support for quickly building REST APIs. It is a lightweight abstraction that works with your existing ORM/libraries. Flask-RESTful encourages Flask-RESTful should be easy to pick up. User’s Guide This part of the documentation will show you how to get started in using Flask- RESTful with Flask. Installation Quickstart A Minimal API Resourceful Url & Other Concrete Fields Complex Structures List Field Advanced : Nested Field Extending Flask-RESTful Content Negotiation Custom Fields & Inputs Response Formats Resource Method Decorators Custom Error0 码力 | 42 页 | 84.60 KB | 1 年前3
Flask-RESTful Documentation Release 0.3.8Flask-RESTful Flask-RESTful is an extension for Flask that adds support for quickly building REST APIs. It is a lightweight abstraction that works with your existing ORM/libraries. Flask-RESTful encourages Flask-RESTful should be easy to pick up. User’s Guide This part of the documentation will show you how to get started in using Flask- RESTful with Flask. Installation Quickstart A Minimal API Resourceful Url & Other Concrete Fields Complex Structures List Field Advanced : Nested Field Extending Flask-RESTful Content Negotiation Custom Fields & Inputs Response Formats Resource Method Decorators Custom Error0 码力 | 55 页 | 93.30 KB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













