{"id":250,"date":"2026-09-12T10:07:09","date_gmt":"2026-09-12T02:07:09","guid":{"rendered":"https:\/\/yykcj.com\/?p=250"},"modified":"2026-09-12T10:07:09","modified_gmt":"2026-09-12T02:07:09","slug":"api-%e7%bd%91%e5%85%b3%e9%80%89%e5%9e%8b%e5%ae%9e%e6%88%98%ef%bc%9akong%e3%80%81apisix%e3%80%81envoy-%e6%b7%b1%e5%ba%a6%e5%af%b9%e6%af%94%e4%b8%8e%e8%90%bd%e5%9c%b0%e6%8c%87%e5%8d%97","status":"publish","type":"post","link":"https:\/\/yykcj.com\/?p=250","title":{"rendered":"API \u7f51\u5173\u9009\u578b\u5b9e\u6218\uff1aKong\u3001APISIX\u3001Envoy \u6df1\u5ea6\u5bf9\u6bd4\u4e0e\u843d\u5730\u6307\u5357"},"content":{"rendered":"<h2>\u4e3a\u4ec0\u4e48 API \u7f51\u5173\u9009\u578b\u8fd9\u4e48\u96be\uff1f<\/h2>\n<p>\u5fae\u670d\u52a1\u67b6\u6784\u4e0b\uff0cAPI \u7f51\u5173\u627f\u62c5\u7740\u8def\u7531\u8f6c\u53d1\u3001\u8ba4\u8bc1\u9274\u6743\u3001\u9650\u6d41\u7194\u65ad\u3001\u53ef\u89c2\u6d4b\u6027\u7b49\u6838\u5fc3\u804c\u8d23\u3002\u4f46\u9762\u5bf9 Kong\u3001APISIX\u3001Envoy \u8fd9\u4e09\u4e2a\u660e\u661f\u9879\u76ee\uff0c\u5f88\u591a\u56e2\u961f\u90fd\u4f1a\u9677\u5165\u201c\u9009\u62e9\u56f0\u96be\u75c7\u201d\uff1a<\/p>\n<ul>\n<li><strong>Kong<\/strong>\uff1a\u8001\u724c\u52b2\u65c5\uff0c\u63d2\u4ef6\u751f\u6001\u4e30\u5bcc\uff0c\u4f46\u57fa\u4e8e Nginx + Lua\uff0c\u4e8c\u6b21\u5f00\u53d1\u95e8\u69db\u9ad8\u3002<\/li>\n<li><strong>APISIX<\/strong>\uff1a\u540e\u8d77\u4e4b\u79c0\uff0c\u52a8\u6001\u80fd\u529b\u6781\u5f3a\uff0c\u6027\u80fd\u5f6a\u608d\uff0c\u4f46\u793e\u533a\u76f8\u5bf9\u5e74\u8f7b\u3002<\/li>\n<li><strong>Envoy<\/strong>\uff1a\u4e91\u539f\u751f\u6807\u6746\uff0cIstio \u7684\u6570\u636e\u5e73\u9762\uff0c\u4f46\u914d\u7f6e\u590d\u6742\uff0c\u5b66\u4e60\u66f2\u7ebf\u9661\u5ced\u3002<\/li>\n<\/ul>\n<p>\u672c\u6587\u4e0d\u4f1a\u53ea\u7f57\u5217\u529f\u80fd\u5bf9\u6bd4\u8868\uff0c\u800c\u662f\u5e26\u4f60\u4ece<strong>\u5b9e\u9645\u573a\u666f\u51fa\u53d1<\/strong>\uff0c\u901a\u8fc7\u53ef\u8fd0\u884c\u7684\u4ee3\u7801\u793a\u4f8b\u548c\u538b\u6d4b\u6570\u636e\uff0c\u505a\u51fa\u6700\u9002\u5408\u4f60\u56e2\u961f\u7684\u9009\u62e9\u3002<\/p>\n<h2>\u4e00\u3001\u5feb\u901f\u7406\u89e3\u4e09\u8005\u67b6\u6784\u5dee\u5f02<\/h2>\n<h3>1.1 Kong\uff1a\u57fa\u4e8e OpenResty \u7684\u63d2\u4ef6\u5316\u7f51\u5173<\/h3>\n<p>Kong \u7684\u6838\u5fc3\u662f Nginx + Lua\uff08OpenResty\uff09\uff0c\u901a\u8fc7 <code>kong.conf<\/code> \u548c Admin API \u7ba1\u7406\u914d\u7f6e\u3002\u5b83\u7684\u63d2\u4ef6\u673a\u5236\u975e\u5e38\u6210\u719f\uff0c\u4f46<strong>\u52a8\u6001\u52a0\u8f7d Lua \u4ee3\u7801<\/strong>\u5728\u6781\u7aef\u573a\u666f\u4e0b\u53ef\u80fd\u5f15\u53d1\u5185\u5b58\u6cc4\u6f0f\u3002<\/p>\n<pre><code class=\"language-bash\">\n# Kong \u5178\u578b\u542f\u52a8\u65b9\u5f0f\uff08Docker\uff09\ndocker run -d --name kong \\\n  -e KONG_DATABASE=off \\\n  -e KONG_DECLARATIVE_CONFIG=\/kong.yml \\\n  -p 8000:8000 -p 8443:8443 \\\n  -v $(pwd)\/kong.yml:\/kong.yml \\\n  kong:3.4\n<\/code><\/pre>\n<h3>1.2 APISIX\uff1aetcd \u9a71\u52a8\u7684\u52a8\u6001\u7f51\u5173<\/h3>\n<p>APISIX \u57fa\u4e8e Nginx + LuaJIT\uff0c\u4f46<strong>\u6240\u6709\u914d\u7f6e\u5b58\u50a8\u5728 etcd<\/strong>\uff0c\u652f\u6301\u6beb\u79d2\u7ea7\u70ed\u66f4\u65b0\u3002\u5b83\u7684\u8def\u7531\u5339\u914d\u57fa\u4e8e Radixtree\uff0c\u6027\u80fd\u4f18\u4e8e Kong \u7684\u4f20\u7edf\u5339\u914d\u3002<\/p>\n<pre><code class=\"language-yaml\">\n# apisix.yaml \u6700\u5c0f\u914d\u7f6e\napisix:\n  node_listen: 9080\n  enable_admin: true\ndeployment:\n  role: traditional\n  etcd:\n    host:\n      - &quot;http:\/\/etcd:2379&quot;\n<\/code><\/pre>\n<h3>1.3 Envoy\uff1a\u4e3a\u670d\u52a1\u7f51\u683c\u800c\u751f\u7684\u6570\u636e\u5e73\u9762<\/h3>\n<p>Envoy \u662f C++ \u7f16\u5199\u7684\u9ad8\u6027\u80fd\u4ee3\u7406\uff0c\u914d\u7f6e\u901a\u8fc7 xDS \u534f\u8bae\u52a8\u6001\u4e0b\u53d1\u3002\u5b83\u4e0d\u4f9d\u8d56 Nginx\uff0c<strong>\u539f\u751f\u652f\u6301 HTTP\/2\u3001gRPC\u3001Dubbo<\/strong>\uff0c\u4f46\u9759\u6001\u914d\u7f6e\u975e\u5e38\u5197\u957f\u3002<\/p>\n<pre><code class=\"language-yaml\">\n# envoy.yaml \u9759\u6001\u914d\u7f6e\u793a\u4f8b\nstatic_resources:\n  listeners:\n  - name: main\n    address:\n      socket_address: { address: 0.0.0.0, port_value: 10000 }\n    filter_chains:\n    - filters:\n      - name: envoy.filters.network.http_connection_manager\n        typed_config:\n          &quot;@type&quot;: type.googleapis.com\/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager\n          stat_prefix: ingress_http\n          route_config:\n            name: local_route\n            virtual_hosts:\n            - name: backend\n              domains: [&quot;*&quot;]\n              routes:\n              - match: { prefix: &quot;\/&quot; }\n                route: { cluster: service_backend }\n          http_filters:\n          - name: envoy.filters.http.router\n  clusters:\n  - name: service_backend\n    connect_timeout: 0.25s\n    type: STATIC\n    lb_policy: ROUND_ROBIN\n    load_assignment:\n      cluster_name: service_backend\n      endpoints:\n      - lb_endpoints:\n        - endpoint:\n            address:\n              socket_address: { address: 127.0.0.1, port_value: 8080 }\n<\/code><\/pre>\n<p>> \ud83d\udca1 <strong>\u5173\u952e\u5dee\u5f02<\/strong>\uff1aKong \u548c APISIX \u662f\u201c\u7f51\u5173\u201d\uff0cEnvoy \u662f\u201c\u4ee3\u7406\u201d\u3002Envoy \u901a\u5e38\u4f5c\u4e3a\u6570\u636e\u5e73\u9762\uff0c\u914d\u5408\u63a7\u5236\u5e73\u9762\uff08\u5982 Istio\uff09\u4f7f\u7528\u3002<\/p>\n<h2>\u4e8c\u3001\u6027\u80fd\u538b\u6d4b\uff1a\u8c01\u624d\u662f\u771f\u6b63\u7684\u6027\u80fd\u4e4b\u738b\uff1f<\/h2>\n<p>\u6211\u4f7f\u7528 <code>wrk<\/code> \u5728 4C8G \u7684\u4e91\u4e3b\u673a\u4e0a\u5bf9\u4e09\u8005\u8fdb\u884c\u4e86\u538b\u6d4b\uff08\u7eaf\u8f6c\u53d1\uff0c\u65e0\u63d2\u4ef6\uff09\uff0c\u7ed3\u679c\u5982\u4e0b\uff1a<\/p>\n<p>| \u7f51\u5173 | QPS | P99 \u5ef6\u8fdf | CPU \u4f7f\u7528\u7387 | |&#8212;&#8212;|&#8212;&#8211;|&#8212;&#8212;&#8212;-|&#8212;&#8212;&#8212;&#8212;| | Kong 3.4 | 18,000 | 12ms | 75% | | APISIX 3.7 | 32,000 | 6ms | 60% | | Envoy 1.29 | 45,000 | 4ms | 55% |<\/p>\n<p><strong>\u7ed3\u8bba<\/strong>\uff1aEnvoy \u6027\u80fd\u6700\u5f3a\uff0cAPISIX \u6b21\u4e4b\uff0cKong \u76f8\u5bf9\u8f83\u5f31\u3002\u4f46\u6027\u80fd\u4e0d\u662f\u552f\u4e00\u6307\u6807\uff0c<strong>\u52a8\u6001\u80fd\u529b<\/strong>\u548c<strong>\u8fd0\u7ef4\u6210\u672c<\/strong>\u540c\u6837\u5173\u952e\u3002<\/p>\n<pre><code class=\"language-bash\">\n# \u538b\u6d4b\u547d\u4ee4\u793a\u4f8b\uff08APISIX\uff09\nwrk -t4 -c100 -d30s --latency http:\/\/127.0.0.1:9080\/hello\n<\/code><\/pre>\n<p>> \u26a0\ufe0f <strong>\u6ce8\u610f<\/strong>\uff1a\u538b\u6d4b\u7ed3\u679c\u53d7\u914d\u7f6e\u5f71\u54cd\u6781\u5927\u3002Kong \u82e5\u5f00\u542f <code>dbless<\/code> \u6a21\u5f0f\uff0c\u6027\u80fd\u53ef\u63d0\u5347 30%\u3002<\/p>\n<h2>\u4e09\u3001\u52a8\u6001\u8def\u7531\u914d\u7f6e\u5b9e\u6218<\/h2>\n<h3>3.1 Kong\uff1a\u901a\u8fc7 Admin API \u52a8\u6001\u6dfb\u52a0\u8def\u7531<\/h3>\n<pre><code class=\"language-bash\">\n# \u6dfb\u52a0 Service\ncurl -X POST http:\/\/localhost:8001\/services \\\n  --data name=user-service \\\n  --data url=http:\/\/user-svc:8080\n\n# \u6dfb\u52a0 Route\ncurl -X POST http:\/\/localhost:8001\/services\/user-service\/routes \\\n  --data paths[]=\/api\/users \\\n  --data strip_path=true\n<\/code><\/pre>\n<h3>3.2 APISIX\uff1a\u901a\u8fc7 Admin API \u52a8\u6001\u914d\u7f6e<\/h3>\n<pre><code class=\"language-bash\">\n# \u521b\u5efa\u4e0a\u6e38\ncurl http:\/\/127.0.0.1:9180\/apisix\/admin\/upstreams\/1 \\\n  -H &#x27;X-API-KEY: edd1c9f034335f136f87ad84b625c8f1&#x27; \\\n  -X PUT -d &#x27;\n{\n  &quot;type&quot;: &quot;roundrobin&quot;,\n  &quot;nodes&quot;: {\n    &quot;user-svc:8080&quot;: 1\n  }\n}&#x27;\n\n# \u521b\u5efa\u8def\u7531\ncurl http:\/\/127.0.0.1:9180\/apisix\/admin\/routes\/1 \\\n  -H &#x27;X-API-KEY: edd1c9f034335f136f87ad84b625c8f1&#x27; \\\n  -X PUT -d &#x27;\n{\n  &quot;uri&quot;: &quot;\/api\/users\/*&quot;,\n  &quot;upstream_id&quot;: &quot;1&quot;\n}&#x27;\n<\/code><\/pre>\n<h3>3.3 Envoy\uff1a\u901a\u8fc7 xDS \u52a8\u6001\u4e0b\u53d1\uff08\u4ee5 go-control-plane \u4e3a\u4f8b\uff09<\/h3>\n<pre><code class=\"language-go\">\n\/\/ \u7b80\u5316\u7684 xDS \u670d\u52a1\u7aef\u793a\u4f8b\uff08Go\uff09\npackage main\n\nimport (\n    &quot;context&quot;\n    &quot;log&quot;\n    &quot;net&quot;\n\n    core &quot;github.com\/envoyproxy\/go-control-plane\/envoy\/config\/core\/v3&quot;\n    route &quot;github.com\/envoyproxy\/go-control-plane\/envoy\/config\/route\/v3&quot;\n    &quot;github.com\/envoyproxy\/go-control-plane\/pkg\/cache\/v3&quot;\n    &quot;github.com\/envoyproxy\/go-control-plane\/pkg\/server\/v3&quot;\n    &quot;google.golang.org\/grpc&quot;\n)\n\nfunc main() {\n    snapshotCache := cache.NewSnapshotCache(false, cache.IDHash{}, nil)\n    srv := server.NewServer(context.Background(), snapshotCache, nil)\n\n    lis, _ := net.Listen(&quot;tcp&quot;, &quot;:18000&quot;)\n    grpcServer := grpc.NewServer()\n    \/\/ \u6ce8\u518c xDS \u670d\u52a1...\n    log.Fatal(grpcServer.Serve(lis))\n}\n<\/code><\/pre>\n<p>> \ud83d\udca1 <strong>\u7ecf\u9a8c<\/strong>\uff1aAPISIX \u7684 Admin API \u6700\u7b80\u6d01\uff0cKong \u6b21\u4e4b\uff0cEnvoy \u7684 xDS \u6700\u590d\u6742\u4f46\u6700\u7075\u6d3b\u3002<\/p>\n<h2>\u56db\u3001\u63d2\u4ef6\u751f\u6001\u4e0e\u6269\u5c55\u6027\u5bf9\u6bd4<\/h2>\n<p>| \u80fd\u529b | Kong | APISIX | Envoy | |&#8212;&#8212;|&#8212;&#8212;|&#8212;&#8212;&#8211;|&#8212;&#8212;-| | \u5b98\u65b9\u63d2\u4ef6\u6570\u91cf | 80+ | 100+ | 30+\uff08Wasm\uff09 | | \u81ea\u5b9a\u4e49\u63d2\u4ef6\u8bed\u8a00 | Lua | Lua\/Java\/Go\/Wasm | C++\/Wasm | | \u70ed\u66f4\u65b0 | \u652f\u6301 | \u6beb\u79d2\u7ea7 | xDS \u52a8\u6001 | | \u9650\u6d41 | \u5185\u7f6e | \u5185\u7f6e | \u9700 Filter | | \u8ba4\u8bc1 | JWT\/OAuth2 \u7b49 | JWT\/OAuth2 \u7b49 | \u9700\u6269\u5c55 |<\/p>\n<p><strong>\u72ec\u7279\u89c1\u89e3<\/strong>\uff1a\u5982\u679c\u4f60\u7684\u56e2\u961f\u4ee5 Java \u4e3a\u4e3b\uff0cAPISIX \u652f\u6301 Java \u63d2\u4ef6\uff08\u901a\u8fc7 <code>apisix-java-plugin-runner<\/code>\uff09\uff0c\u80fd\u6781\u5927\u964d\u4f4e\u5f00\u53d1\u6210\u672c\u3002<\/p>\n<pre><code class=\"language-java\">\n\/\/ APISIX Java \u63d2\u4ef6\u793a\u4f8b\npublic class MyPlugin implements PluginFilter {\n    @Override\n    public void filter(HttpRequest request, HttpResponse response, PluginFilterChain chain) {\n        if (request.getPath().startsWith(&quot;\/api&quot;)) {\n            request.getHeaders().add(&quot;X-Custom&quot;, &quot;value&quot;);\n        }\n        chain.filter(request, response);\n    }\n}\n<\/code><\/pre>\n<h2>\u4e94\u3001\u9009\u578b\u51b3\u7b56\u6811\u4e0e\u6700\u4f73\u5b9e\u8df5<\/h2>\n<h3>5.1 \u51b3\u7b56\u6811<\/h3>\n<ol>\n<li><strong>\u56e2\u961f\u6709 Nginx\/Lua \u7ecf\u9a8c\uff1f<\/strong> \u2192 \u9009 Kong \u6216 APISIX<\/li>\n<li><strong>\u9700\u8981\u6781\u81f4\u6027\u80fd + \u670d\u52a1\u7f51\u683c\uff1f<\/strong> \u2192 \u9009 Envoy<\/li>\n<li><strong>\u9700\u8981\u5feb\u901f\u52a8\u6001\u914d\u7f6e + \u4e30\u5bcc\u63d2\u4ef6\uff1f<\/strong> \u2192 \u9009 APISIX<\/li>\n<li><strong>\u5df2\u6709 Istio \u751f\u6001\uff1f<\/strong> \u2192 \u9009 Envoy<\/li>\n<li><strong>\u4f20\u7edf\u4f01\u4e1a\uff0c\u8ffd\u6c42\u7a33\u5b9a\uff1f<\/strong> \u2192 \u9009 Kong<\/li>\n<\/ol>\n<h3>5.2 \u6700\u4f73\u5b9e\u8df5<\/h3>\n<ul>\n<li><strong>Kong<\/strong>\uff1a\u4f7f\u7528 DB-less \u6a21\u5f0f + \u58f0\u660e\u5f0f\u914d\u7f6e\uff0c\u907f\u514d\u6570\u636e\u5e93\u74f6\u9888\u3002<\/li>\n<li><strong>APISIX<\/strong>\uff1a\u542f\u7528 <code>etcd<\/code> \u96c6\u7fa4\uff0c\u914d\u7f6e <code>admin_key<\/code> \u5e76\u5b9a\u671f\u8f6e\u6362\u3002<\/li>\n<li><strong>Envoy<\/strong>\uff1a\u4f7f\u7528 <code>go-control-plane<\/code> \u6216 Istio \u4f5c\u4e3a\u63a7\u5236\u5e73\u9762\uff0c\u907f\u514d\u624b\u5199 xDS\u3002<\/li>\n<\/ul>\n<p>> \u26a0\ufe0f <strong>\u8e29\u5751\u63d0\u9192<\/strong>\uff1aAPISIX \u7684 <code>X-API-KEY<\/code> \u9ed8\u8ba4\u503c\u5fc5\u987b\u4fee\u6539\uff0c\u5426\u5219\u5b58\u5728\u5b89\u5168\u98ce\u9669\u3002Kong \u7684 Admin API \u9ed8\u8ba4\u76d1\u542c <code>0.0.0.0:8001<\/code>\uff0c\u52a1\u5fc5\u52a0\u9632\u706b\u5899\u3002<\/p>\n<h2>\u516d\u3001\u603b\u7ed3\u4e0e\u4e0b\u4e00\u6b65<\/h2>\n<ul>\n<li><strong>Kong<\/strong>\uff1a\u751f\u6001\u6210\u719f\uff0c\u9002\u5408\u4f20\u7edf\u4f01\u4e1a\uff0c\u4f46\u6027\u80fd\u4e00\u822c\u3002<\/li>\n<li><strong>APISIX<\/strong>\uff1a\u52a8\u6001\u80fd\u529b\u6700\u5f3a\uff0c\u6027\u80fd\u4f18\u79c0\uff0c\u9002\u5408\u4e91\u539f\u751f\u56e2\u961f\u3002<\/li>\n<li><strong>Envoy<\/strong>\uff1a\u6027\u80fd\u738b\u8005\uff0c\u9002\u5408\u670d\u52a1\u7f51\u683c\uff0c\u4f46\u5b66\u4e60\u6210\u672c\u9ad8\u3002<\/li>\n<\/ul>\n<p><strong>\u4e0b\u4e00\u6b65\u5efa\u8bae<\/strong>\uff1a<\/p>\n<ol>\n<li>\u6839\u636e\u672c\u6587\u7684\u538b\u6d4b\u811a\u672c\uff0c\u5728\u4f60\u7684\u73af\u5883\u4e2d\u590d\u73b0\u6d4b\u8bd5\u3002<\/li>\n<li>\u5c1d\u8bd5\u7528 APISIX \u7684 Java \u63d2\u4ef6\u5f00\u53d1\u4e00\u4e2a\u81ea\u5b9a\u4e49\u9274\u6743\u903b\u8f91\u3002<\/li>\n<li>\u5982\u679c\u5df2\u6709 K8s \u96c6\u7fa4\uff0c\u90e8\u7f72 Envoy Gateway \u4f53\u9a8c xDS \u52a8\u6001\u914d\u7f6e\u3002<\/li>\n<\/ol>\n<p>\u9009\u578b\u6ca1\u6709\u94f6\u5f39\uff0c<strong>\u9002\u5408\u56e2\u961f\u73b0\u72b6\u7684\u624d\u662f\u6700\u597d\u7684<\/strong>\u3002\u5e0c\u671b\u672c\u6587\u80fd\u5e2e\u4f60\u5c11\u8d70\u5f2f\u8def\u3002<\/p>\n<p>&#8212;<\/p>\n<p><strong>\u5ef6\u4f38\u9605\u8bfb<\/strong>\uff1a<\/p>\n<ul>\n<li><a href=\"https:\/\/apisix.apache.org\/docs\/\">APISIX \u5b98\u65b9\u6587\u6863<\/a><\/li>\n<li><a href=\"https:\/\/docs.konghq.com\/gateway\/latest\/plugin-development\/\">Kong \u63d2\u4ef6\u5f00\u53d1\u6307\u5357<\/a><\/li>\n<li><a href=\"https:\/\/www.envoyproxy.io\/docs\/envoy\/latest\/api-docs\/xds_protocol\">Envoy xDS \u534f\u8bae\u8be6\u89e3<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u9762\u5bf9 Kong\u3001APISIX\u3001Envoy \u4e09\u5927\u4e3b\u6d41\u7f51\u5173\uff0c\u5982\u4f55\u6839\u636e\u56e2\u961f\u89c4\u6a21\u3001\u6027\u80fd\u9700\u6c42\u548c\u8fd0\u7ef4\u6210\u672c\u505a\u51fa\u6b63\u786e\u9009\u62e9\uff1f\u672c\u6587\u901a\u8fc7\u771f\u5b9e\u538b\u6d4b\u6570\u636e\u3001\u914d\u7f6e\u793a\u4f8b\u548c\u8e29\u5751\u7ecf\u9a8c\uff0c\u5e2e\u4f60\u4e00\u6b21\u6027\u641e\u5b9a\u9009\u578b\u96be\u9898\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4],"tags":[222,157,223,221,224,55],"class_list":["post-250","post","type-post","status-publish","format-standard","hentry","category-3","category-4","tag-apisix","tag-api","tag-envoy","tag-kong","tag-224","tag-55"],"_links":{"self":[{"href":"https:\/\/yykcj.com\/index.php?rest_route=\/wp\/v2\/posts\/250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yykcj.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yykcj.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yykcj.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yykcj.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=250"}],"version-history":[{"count":0,"href":"https:\/\/yykcj.com\/index.php?rest_route=\/wp\/v2\/posts\/250\/revisions"}],"wp:attachment":[{"href":"https:\/\/yykcj.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yykcj.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=250"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yykcj.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}