TinyBlogApi:Spring Boot Web 应用程序以 JSON 格式提供 REST API

时间:2024-07-03 04:26:46
【文件属性】:

文件名称:TinyBlogApi:Spring Boot Web 应用程序以 JSON 格式提供 REST API

文件大小:104KB

文件格式:ZIP

更新时间:2024-07-03 04:26:46

Java

微博API Spring Boot Web 应用程序以 JSON 格式提供 REST API 获取资源 $ git clone git@github.com:AgileSpirit/TinyBlogApi.git 运行应用程序 $ mvn spring-boot:run 使用 API # GET /articles : retrieve all the articles $ curl -X GET http://localhost:8080/api/articles -i -H "Accept: application/json" -H "Content-Type: application/json" # GET /articles/{id} : retrieve one article by its ID $ curl -X GET http://localhost:8080


【文件预览】:
TinyBlogApi-master
----src()
--------test()
--------main()
----LICENSE(11KB)
----README.md(2KB)
----pom.xml(4KB)
----.gitignore(210B)

网友评论