亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

kong接口Postman 腳本怎么備份

發布時間:2021-06-22 14:19:41 來源:億速云 閱讀:536 作者:chen 欄目:大數據

這篇文章主要介紹“kong接口Postman 腳本怎么備份”,在日常操作中,相信很多人在kong接口Postman 腳本怎么備份問題上存在疑惑,小編查閱了各式資料,整理出簡單好用的操作方法,希望對大家解答”kong接口Postman 腳本怎么備份”的疑惑有所幫助!接下來,請跟著小編一起來學習吧!

kong接口Postman 腳本備份:

kong-1.2.2.postman_collection.json  

{
	"info": {
		"_postman_id": "06f6b9e6-cdaa-4192-b345-1c4fda816074",
		"name": "kong-1.2.2",
		"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
	},
	"item": [
		{
			"name": "Routes",
			"item": [
				{
					"name": "【創建】路由",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"name\": \"baidu-route\",\r\n    \"protocols\": [\"http\", \"https\"],\r\n    \"methods\": [\"GET\", \"POST\"],\r\n    \"hosts\": [\"192.168.3.115\", \"foo.test\"],\r\n    \"paths\": [\"/foo\", \"/bar\"],\r\n    \"https_redirect_status_code\": 426,\r\n    \"regex_priority\": 0,\r\n    \"strip_path\": true,\r\n    \"preserve_host\": false,\r\n    \"tags\": [\"user-level\", \"low-priority\"],\r\n    \"service\": {\"id\":\"2e65817c-6d19-42cc-a3b4-ebe05d2d57c8\"}\r\n}\r\n"
						},
						"url": "192.168.3.115:8001/routes"
					},
					"response": []
				},
				{
					"name": "【更新】路由",
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"name\": \"baidu-route\",\r\n    \"protocols\": [\"http\", \"https\"],\r\n    \"methods\": [\"GET\", \"POST\"],\r\n    \"hosts\": [\"192.168.3.115\", \"foo.test\"],\r\n    \"paths\": [\"/fooo\", \"/barr\"],\r\n    \"https_redirect_status_code\": 426,\r\n    \"regex_priority\": 0,\r\n    \"strip_path\": true,\r\n    \"preserve_host\": false,\r\n    \"tags\": [\"user-level\", \"low-priority\"],\r\n    \"service\": {\"id\":\"2e65817c-6d19-42cc-a3b4-ebe05d2d57c8\"}\r\n}\r\n"
						},
						"url": "192.168.3.115:8001/routes/fb1bf3c2-9939-4384-b031-4f5ff4d2e8e0"
					},
					"response": []
				},
				{
					"name": "【刪除】路由",
					"request": {
						"method": "DELETE",
						"header": [],
						"url": "192.168.3.115:8001/routes/fb1bf3c2-9939-4384-b031-4f5ff4d2e8e0"
					},
					"response": []
				},
				{
					"name": "【查詢】路由列表",
					"request": {
						"method": "GET",
						"header": [],
						"url": "192.168.3.115:8001/routes"
					},
					"response": []
				}
			]
		},
		{
			"name": "Services",
			"item": [
				{
					"name": "【創建】服務",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"name\": \"baidu-service\",\r\n    \"retries\": 5,\r\n    \"protocol\": \"http\",\r\n    \"host\": \"www.baidu.com\",\r\n    \"port\": 80,\r\n    \"path\": \"/baidu\",\r\n    \"connect_timeout\": 60000,\r\n    \"write_timeout\": 60000,\r\n    \"read_timeout\": 60000,\r\n    \"tags\": [\"test\", \"baidu\"]\r\n}"
						},
						"url": "192.168.3.115:8001/services"
					},
					"response": []
				},
				{
					"name": "【刪除】指定服務",
					"request": {
						"method": "DELETE",
						"header": [],
						"url": "192.168.3.115:8001/services/94e48130-b11f-4188-b4fb-249c926ec465"
					},
					"response": []
				},
				{
					"name": "【更新】服務",
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n            \"host\": \"www.baidu.com\",\r\n            \"created_at\": 1567479996,\r\n            \"connect_timeout\": 50000,\r\n            \"protocol\": \"http\",\r\n            \"name\": \"baidu-service\",\r\n            \"read_timeout\": 60000,\r\n            \"port\": 80,\r\n            \"path\": \"/baidu\",\r\n            \"updated_at\": 1567479996,\r\n            \"retries\": 5,\r\n            \"write_timeout\": 60000,\r\n            \"tags\": [\r\n                \"test\",\r\n                \"baidu\"\r\n            ]\r\n        }"
						},
						"url": "192.168.3.115:8001/services/94e48130-b11f-4188-b4fb-249c926ec465"
					},
					"response": []
				},
				{
					"name": "【創建|更新】指定服務",
					"request": {
						"method": "PUT",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"retries\": 5,\r\n    \"protocol\": \"http\",\r\n    \"host\": \"www.baidu.com\",\r\n    \"port\": 80,\r\n    \"path\": \"/gateway\",\r\n    \"connect_timeout\": 60000,\r\n    \"write_timeout\": 60000,\r\n    \"read_timeout\": 60000,\r\n    \"tags\": [\"test\", \"gateway\"]\r\n}"
						},
						"url": "192.168.3.115:8001/services/baidu-service2"
					},
					"response": []
				},
				{
					"name": "【查詢】服務列表",
					"request": {
						"method": "GET",
						"header": [],
						"url": "192.168.3.115:8001/services"
					},
					"response": []
				},
				{
					"name": "【查詢】指定名稱服務信息",
					"request": {
						"method": "GET",
						"header": [],
						"url": "192.168.3.115:8001/services/baidu-service"
					},
					"response": []
				}
			]
		},
		{
			"name": "Consumers",
			"item": [
				{
					"name": "【創建】客戶",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"username\": \"my-username\",\r\n    \"custom_id\": \"my-custom-id\",\r\n    \"tags\": [\"user-level\", \"low-priority\"]\r\n}\r\n"
						},
						"url": "192.168.3.115:8001/consumers"
					},
					"response": []
				},
				{
					"name": "【刪除】客戶信息",
					"request": {
						"method": "DELETE",
						"header": [],
						"url": "192.168.3.115:8001/consumers/f2c63133-698a-45a4-b9a5-83b0945d989c"
					},
					"response": []
				},
				{
					"name": "【更新】客戶信息",
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"username\": \"my-username11\",\r\n    \"custom_id\": \"my-custom-id\",\r\n    \"tags\": [\"user-level\", \"low-priority\"]\r\n}\r\n"
						},
						"url": "192.168.3.115:8001/consumers/f2c63133-698a-45a4-b9a5-83b0945d989c"
					},
					"response": []
				},
				{
					"name": "【查詢】客戶列表",
					"request": {
						"method": "GET",
						"header": [],
						"url": "192.168.3.115:8001/consumers"
					},
					"response": []
				}
			]
		},
		{
			"name": "Plugins",
			"item": [
				{
					"name": "key-auth",
					"item": [
						{
							"name": "【創建】配置插件-keyauth",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": " {\r\n            \"created_at\": 1567504129,\r\n            \"config\": {\r\n                \"key_names\": [\r\n                    \"apikey\"\r\n                ],\r\n                \"run_on_preflight\": true,\r\n                \"anonymous\": null,\r\n                \"hide_credentials\": false,\r\n                \"key_in_body\": false\r\n            },\r\n            \"name\": \"key-auth\",\r\n            \"protocols\": [\r\n                \"http\",\r\n                \"https\"\r\n            ],\r\n            \"enabled\": true,\r\n            \"run_on\": \"first\",\r\n            \"service\": {\r\n                \"id\": \"75b3f4c5-2683-4653-9c05-e4f081c6f83d\"\r\n            },\r\n            \"tags\": [\r\n                \"user-level\",\r\n                \"low-priority\"\r\n            ]\r\n        }"
								},
								"url": "192.168.3.115:8001/plugins"
							},
							"response": []
						},
						{
							"name": "【創建】Consumer對應Key",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\r\n    \"consumer\": { \"id\": \"92c8fd1d-3cb1-4f80-9fee-0dc76ae638b7\" },\r\n    \"key\": \"62eb165c070a41d5c1b58d9d3d725ca1\"\r\n}"
								},
								"url": "192.168.3.115:8001/consumers/user01/key-auth"
							},
							"response": []
						},
						{
							"name": "【刪除】Consumer對應Key",
							"request": {
								"method": "DELETE",
								"header": [],
								"url": "192.168.3.115:8001/consumers/user01/key-auth/dc3b8429-538c-4a70-9cb6-83c1a56b5ccd"
							},
							"response": []
						},
						{
							"name": "【查詢】Consumer對應Key",
							"request": {
								"method": "GET",
								"header": [],
								"url": "192.168.3.115:8001/key-auths"
							},
							"response": []
						}
					],
					"_postman_isSubFolder": true
				},
				{
					"name": "【查詢】已激活插件列表",
					"request": {
						"method": "GET",
						"header": [],
						"url": "192.168.3.115:8001/plugins/enabled"
					},
					"response": []
				},
				{
					"name": "【查詢】插件配置字段架構",
					"request": {
						"method": "GET",
						"header": [],
						"url": "192.168.3.115:8001/plugins/schema/rate-limiting"
					},
					"response": []
				},
				{
					"name": "【創建】配置插件",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": " {\r\n            \"created_at\": 1567504129,\r\n            \"config\": {\r\n                \"minute\": null,\r\n                \"policy\": \"cluster\",\r\n                \"month\": null,\r\n                \"redis_timeout\": 2000,\r\n                \"limit_by\": \"ip\",\r\n                \"hide_client_headers\": false,\r\n                \"second\": 2,\r\n                \"day\": null,\r\n                \"redis_password\": null,\r\n                \"year\": null,\r\n                \"redis_database\": 0,\r\n                \"hour\": 500,\r\n                \"redis_port\": 6379,\r\n                \"redis_host\": null,\r\n                \"fault_tolerant\": true\r\n            },\r\n            \"name\": \"rate-limiting\",\r\n            \"protocols\": [\r\n                \"http\",\r\n                \"https\"\r\n            ],\r\n            \"enabled\": true,\r\n            \"run_on\": \"first\",\r\n            \"service\": {\r\n                \"id\": \"75b3f4c5-2683-4653-9c05-e4f081c6f83d\"\r\n            },\r\n            \"tags\": [\r\n                \"user-level\",\r\n                \"low-priority\"\r\n            ]\r\n        }"
						},
						"url": "192.168.3.115:8001/plugins"
					},
					"response": []
				},
				{
					"name": "【刪除】配置插件",
					"request": {
						"method": "DELETE",
						"header": [],
						"url": "192.168.3.115:8001/plugins/25035e05-4dbd-4038-8512-3dc1392cb907"
					},
					"response": []
				},
				{
					"name": "【更新】配置插件",
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": " {\r\n            \"created_at\": 1567504129,\r\n            \"config\": {\r\n                \"minute\": null,\r\n                \"policy\": \"cluster\",\r\n                \"month\": null,\r\n                \"redis_timeout\": 2000,\r\n                \"limit_by\": \"ip\",\r\n                \"hide_client_headers\": false,\r\n                \"second\": 2,\r\n                \"day\": null,\r\n                \"redis_password\": null,\r\n                \"year\": null,\r\n                \"redis_database\": 0,\r\n                \"hour\": null,\r\n                \"redis_port\": 6379,\r\n                \"redis_host\": null,\r\n                \"fault_tolerant\": true\r\n            },\r\n            \"name\": \"rate-limiting\",\r\n            \"protocols\": [\r\n                \"http\",\r\n                \"https\"\r\n            ],\r\n            \"enabled\": true,\r\n            \"run_on\": \"first\",\r\n            \"route\": {\r\n                \"id\": \"5b92d3c2-34ad-482d-a51d-f59f01db8ee2\"\r\n            },\r\n            \"tags\": [\r\n                \"user-level\",\r\n                \"low-priority\"\r\n            ]\r\n        }"
						},
						"url": "192.168.3.115:8001/plugins/cf04e1c4-7886-42c4-af34-3f3bb5888dcb"
					},
					"response": []
				},
				{
					"name": "【查詢】配置插件",
					"request": {
						"method": "GET",
						"header": [],
						"url": "192.168.3.115:8001/plugins"
					},
					"response": []
				}
			]
		},
		{
			"name": "Certificate",
			"item": [
				{
					"name": "【創建】證書",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"cert\": \"-----BEGIN CERTIFICATE-----\r\nMIIDozCCAougAwIBAgIJALd53ieYjBj8MA0GCSqGSIb3DQEBCwUAMGgxCzAJBgNV\r\nBAYTAmxzMQswCQYDVQQIDAJmbjELMAkGA1UEBwwCY3MxCzAJBgNVBAoMAmhuMQsw\r\nCQYDVQQLDAJobDELMAkGA1UEAwwCaGwxGDAWBgkqhkiG9w0BCQEWCWpAMTExLmNv\r\nbTAeFw0xOTA5MDQwMDM2MDFaFw0yMDA5MDMwMDM2MDFaMGgxCzAJBgNVBAYTAmxz\r\nMQswCQYDVQQIDAJmbjELMAkGA1UEBwwCY3MxCzAJBgNVBAoMAmhuMQswCQYDVQQL\r\nDAJobDELMAkGA1UEAwwCaGwxGDAWBgkqhkiG9w0BCQEWCWpAMTExLmNvbTCCASIw\r\nDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmwKflKCXWrMqGrAjQVrOibloxF\r\n8l6fKfppajU/PrMEWPLBBqouV6hjKDpaqsI6XKiyNBp6jDKEn3QUqm1rePMFVGhx\r\nrQNPE07PId7JrCx7j71b23Mx+ooiEKfaY6ceaEdJYMcEQybNJOQPj+s/34VyWRyV\r\nwWI80vY6O/euwVMQVJNnQK/vPbiXeZiqTbbmwnj2GRXwpE0lUwZpkwM/YFuv6sQt\r\nVt5VtOmaDAl4XhdcPqWa1jSg4S7pNbIPG6rByWVmdlSz4IXZzVMSwXJgcfsLbezT\r\n1IHIrwQ9WARzhyJn+tQjCRksffEmG/H544qpHAzJwdE9GDLfecj81xICrsUCA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/B9U6FG9fZY1Uukh//q3lu08t8zFbSNwAd6pKIz67o7UEBKvGp7LCRRjXEm4RfTl\r\nlSy+ATtRi65dzhzIfnvaJbwYSr/7kk5luIzb3RW3PCub+i1/PE8ghzguefHC00Qq\r\nYgaWpD/drn++9b/pPLY5OA==\r\n-----END PRIVATE KEY-----\",\r\n    \"tags\": [\"user-level\", \"low-priority\"]\r\n}\r\n"
						},
						"url": "192.168.3.115:8001/certificates"
					},
					"response": []
				},
				{
					"name": "【刪除】證書",
					"request": {
						"method": "DELETE",
						"header": [],
						"url": "192.168.3.115:8001/certificates/62a53ace-73a4-4a75-8d02-4cb67a6bfb8f"
					},
					"response": []
				},
				{
					"name": "【更新】證書",
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"tags\": [\r\n        \"user\",\r\n        \"low\"\r\n    ]\r\n}"
						},
						"url": "192.168.3.115:8001/certificates/2524f16d-f099-41e9-b040-2b95e05aa775"
					},
					"response": []
				},
				{
					"name": "【查詢】證書列表",
					"request": {
						"method": "GET",
						"header": [],
						"url": "192.168.3.115:8001/certificates"
					},
					"response": []
				}
			]
		},
		{
			"name": "CA Certificate",
			"item": [
				{
					"name": "【查詢】CA證書",
					"request": {
						"method": "GET",
						"header": [],
						"url": "192.168.3.115:8001/ca_certificates"
					},
					"response": []
				}
			]
		},
		{
			"name": "SNI",
			"item": [
				{
					"name": "【查詢】SNI列表",
					"request": {
						"method": "GET",
						"header": [],
						"url": "192.168.3.115:8001/snis"
					},
					"response": []
				}
			]
		},
		{
			"name": "Upstream ",
			"item": [
				{
					"name": "【創建】Upstream",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"name\": \"my-upstream\",\r\n    \"hash_on\": \"none\",\r\n    \"hash_fallback\": \"none\",\r\n    \"hash_on_cookie_path\": \"/\",\r\n    \"slots\": 10000,\r\n    \"healthchecks\": {\r\n        \"active\": {\r\n            \"https_verify_certificate\": true,\r\n            \"unhealthy\": {\r\n                \"http_statuses\": [429, 404, 500, 501, 502, 503, 504, 505],\r\n                \"tcp_failures\": 0,\r\n                \"timeouts\": 0,\r\n                \"http_failures\": 0,\r\n                \"interval\": 0\r\n            },\r\n            \"http_path\": \"/\",\r\n            \"timeout\": 1,\r\n            \"healthy\": {\r\n                \"http_statuses\": [200, 302],\r\n                \"interval\": 0,\r\n                \"successes\": 0\r\n            },\r\n            \"concurrency\": 10,\r\n            \"type\": \"http\"\r\n        },\r\n        \"passive\": {\r\n            \"unhealthy\": {\r\n                \"http_failures\": 0,\r\n                \"http_statuses\": [429, 500, 503],\r\n                \"tcp_failures\": 0,\r\n                \"timeouts\": 0\r\n            },\r\n            \"type\": \"http\",\r\n            \"healthy\": {\r\n                \"successes\": 0,\r\n                \"http_statuses\": [200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308]\r\n            }\r\n        }\r\n    },\r\n    \"tags\": [\"user-level\", \"low-priority\"]\r\n}\r\n"
						},
						"url": "192.168.3.115:8001/upstreams"
					},
					"response": []
				},
				{
					"name": "【查詢】Upstream",
					"request": {
						"method": "GET",
						"header": [],
						"url": "192.168.3.115:8001/upstreams"
					},
					"response": []
				},
				{
					"name": "【刪除】Upstream",
					"request": {
						"method": "DELETE",
						"header": [],
						"url": "192.168.3.115:8001/upstreams/e16166b5-bcb1-4f28-8170-c6d57f9b452c"
					},
					"response": []
				},
				{
					"name": "【創建】Target",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"target\": \"www.baidu.com:80\",\r\n    \"weight\": 100,\r\n    \"tags\": [\"user-level\", \"low-priority\"]\r\n}"
						},
						"url": "192.168.3.115:8001/upstreams/e16166b5-bcb1-4f28-8170-c6d57f9b452c/targets"
					},
					"response": []
				},
				{
					"name": "【查詢】Targets",
					"request": {
						"method": "GET",
						"header": [],
						"url": "192.168.3.115:8001/upstreams/demo-upstream/targets"
					},
					"response": []
				}
			]
		},
		{
			"name": "【查詢】節點狀態",
			"request": {
				"method": "GET",
				"header": [],
				"url": "192.168.3.115:8001/status"
			},
			"response": []
		},
		{
			"name": "【查詢】節點信息",
			"request": {
				"method": "GET",
				"header": [],
				"url": "192.168.3.115:8001/"
			},
			"response": []
		},
		{
			"name": "【查詢】標簽列表",
			"request": {
				"method": "GET",
				"header": [],
				"url": "192.168.3.115:8001/tags"
			},
			"response": []
		}
	]
}

到此,關于“kong接口Postman 腳本怎么備份”的學習就結束了,希望能夠解決大家的疑惑。理論與實踐的搭配能更好的幫助大家學習,快去試試吧!若想繼續學習更多相關知識,請繼續關注億速云網站,小編會繼續努力為大家帶來更多實用的文章!

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

冕宁县| 唐海县| 涞水县| 沽源县| 林甸县| 青浦区| 绍兴市| 将乐县| 抚顺市| 正镶白旗| 巨野县| 营山县| 上林县| 乌拉特前旗| 九台市| 突泉县| 罗甸县| 大庆市| 桦南县| 遵义市| 定兴县| 武陟县| 都兰县| 响水县| 蕲春县| 理塘县| 太保市| 佛教| 西藏| 通化市| 多伦县| 商都县| 皋兰县| 定兴县| 银川市| 南阳市| 庄河市| 酒泉市| 尤溪县| 平山县| 荥阳市|