上传者: 42172572
|
上传时间: 2021-10-20 23:24:38
|
文件大小: 11KB
|
文件类型: -
SpringBoot Rest Camel这是一个基于SpringBoot Apache-Camel Rest组件的示例凝乳应用程序。
系统中用于项目设置的必需项:Maven Java 8(如果您具有Java 7,则可以在maven pom中更改source和target属性)
基于H2数据使用,因此不需要数据库。
昂首阔步:Api文档
或
创建用户: Http方法:POST网址: http://0.0.0.0: /api/users Content-Type = application / json行数据:{“ name”:“ Ankit”}
输出: { "id": 1, "name": "Ankit" }
按ID查找用户
网址:http: : Http方法:GET
例如:http: :
输出: { "id": 1, "name": "Ankit" }
查找所