代码拉取完成,页面将自动刷新
{
"info": {
"_postman_id": "5cfc01d3-fd7d-4527-a2b9-825ad368ff80",
"name": "vertx-4-reactive-rest-api",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Read all books.",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8888/api/v1/books?",
"protocol": "http",
"host": [
"localhost"
],
"port": "8888",
"path": [
"api",
"v1",
"books"
],
"query": [
{
"key": "page",
"value": "1",
"disabled": true
},
{
"key": "limit",
"value": "20",
"disabled": true
}
]
}
},
"response": []
},
{
"name": "Read one book.",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8888/api/v1/books/1",
"protocol": "http",
"host": [
"localhost"
],
"port": "8888",
"path": [
"api",
"v1",
"books",
"1"
]
}
},
"response": []
},
{
"name": "Create book.",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"author\": \"José Saramago\",\n \"country\": \"Portugal\",\n \"image_link\": \"images/ensaio-sobre-a-cegueira.jpg\",\n \"language\": \"Portuguese\",\n \"link\": \"https://en.wikipedia.org/wiki/Blindness_(novel)\",\n \"pages\": 288,\n \"title\": \"Ensaio sobre a cegueira\",\n \"year\": 1995\n }",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8888/api/v1/books",
"protocol": "http",
"host": [
"localhost"
],
"port": "8888",
"path": [
"api",
"v1",
"books"
]
}
},
"response": []
},
{
"name": "Update book.",
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"author\": \"José Saramago\",\n \"country\": \"Portugal\",\n \"image_link\": \"images/ensaio-sobre-a-cegueira.jpg\",\n \"language\": \"Portuguese\",\n \"link\": \"https://en.wikipedia.org/wiki/Blindness_(novel)\",\n \"pages\": 288,\n \"title\": \"Ensaio sobre a cegueira\",\n \"year\": 1995\n }",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8888/api/v1/books/1",
"protocol": "http",
"host": [
"localhost"
],
"port": "8888",
"path": [
"api",
"v1",
"books",
"1"
]
}
},
"response": []
},
{
"name": "Delete book.",
"request": {
"method": "DELETE",
"header": [],
"url": {
"raw": "http://localhost:8888/api/v1/books/1",
"protocol": "http",
"host": [
"localhost"
],
"port": "8888",
"path": [
"api",
"v1",
"books",
"1"
]
}
},
"response": []
},
{
"name": "Read metrics.",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8888/metrics",
"protocol": "http",
"host": [
"localhost"
],
"port": "8888",
"path": [
"metrics"
]
}
},
"response": []
},
{
"name": "Read health check.",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8888/health",
"protocol": "http",
"host": [
"localhost"
],
"port": "8888",
"path": [
"health"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。