{"id":22999,"date":"2024-11-21T13:21:33","date_gmt":"2024-11-21T05:21:33","guid":{"rendered":"https:\/\/fwq.ai\/blog\/22999\/"},"modified":"2024-11-21T13:21:33","modified_gmt":"2024-11-21T05:21:33","slug":"laravel%e8%b7%b3%e8%bd%ac%e8%b7%af%e7%94%b1","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/22999\/","title":{"rendered":"laravel\u8df3\u8f6c\u8def\u7531"},"content":{"rendered":"<p>laravel\u662f\u4e00\u4e2a\u6d41\u884c\u7684php\u6846\u67b6\uff0c\u63d0\u4f9b\u4e86\u8bb8\u591a\u4fbf\u6377\u7684\u529f\u80fd\u548c\u65b9\u6cd5\uff0c\u4f7f\u5f97\u5f00\u53d1\u8005\u53ef\u4ee5\u5feb\u901f\u5730\u5f00\u53d1\u51fa\u9ad8\u6548\u3001\u53ef\u7ef4\u62a4\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u5728laravel\u4e2d\uff0c\u8def\u7531\uff08route\uff09\u662f\u4e00\u4e2a\u975e\u5e38\u91cd\u8981\u7684\u6982\u5ff5\uff0c\u5b83\u5141\u8bb8\u5f00\u53d1\u8005\u5b9a\u4e49\u5e94\u7528\u7a0b\u5e8f\u7684url\u3002<\/p>\n<p>\u5728Laravel\u4e2d\uff0c\u8df3\u8f6c\u8def\u7531\u662f\u4e00\u4e2a\u975e\u5e38\u5e38\u89c1\u7684\u9700\u6c42\uff0c\u6bd4\u5982\u5728\u7528\u6237\u767b\u5f55\u540e\u8df3\u8f6c\u5230\u53e6\u4e00\u4e2a\u9875\u9762\u3001\u5728\u8868\u5355\u63d0\u4ea4\u540e\u8df3\u8f6c\u5230\u53e6\u4e00\u4e2a\u9875\u9762\u7b49\u7b49\u3002\u672c\u6587\u5c06\u4ecb\u7ecdLaravel\u4e2d\u7684\u8df3\u8f6c\u8def\u7531\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u5b83\u4eec\u3002<\/p>\n<p>\u4e00\u3001\u8df3\u8f6c\u5230\u547d\u540d\u8def\u7531<\/p>\n<p>\u5728Laravel\u4e2d\uff0c\u547d\u540d\u8def\u7531\uff08Named Route\uff09\u662f\u4e00\u79cd\u975e\u5e38\u65b9\u4fbf\u7684\u8def\u7531\u5b9a\u4e49\u65b9\u5f0f\u3002\u901a\u8fc7\u7ed9\u8def\u7531\u5b9a\u4e49\u4e00\u4e2a\u540d\u79f0\uff0c\u6211\u4eec\u53ef\u4ee5\u5728\u4ee3\u7801\u4e2d\u4f7f\u7528\u8fd9\u4e2a\u540d\u79f0\u6765\u751f\u6210URL\u6216\u8df3\u8f6c\u5230\u8fd9\u4e2a\u8def\u7531\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u4f8b\u5b50\uff1a<\/p>\n<pre>Route::get('user\/profile', function () {\n    \/\/\n})-&amp;gt;name('profile');<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e00\u4e2a\u540d\u4e3a\u201cprofile\u201d\u7684\u8def\u7531\uff0c\u5f53\u6211\u4eec\u9700\u8981\u8df3\u8f6c\u5230\u8fd9\u4e2a\u8def\u7531\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e0b\u9762\u7684\u4ee3\u7801\uff1a<\/p>\n<pre>return redirect()-&amp;gt;route('profile');<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u8fd9\u4e2a\u65b9\u6cd5\u63a5\u53d7\u4e00\u4e2a\u8def\u7531\u540d\u79f0\u4f5c\u4e3a\u53c2\u6570\uff0c\u7136\u540e\u8fd4\u56de\u4e00\u4e2a\u91cd\u5b9a\u5411\u5230\u8be5\u8def\u7531\u7684\u54cd\u5e94\u3002\u5982\u679c\u60a8\u60f3\u5c06\u53c2\u6570\u4f20\u9012\u7ed9\u8def\u7531\uff0c\u53ef\u4ee5\u5728\u7b2c\u4e8c\u4e2a\u53c2\u6570\u4e2d\u4f20\u9012\u5b83\u4eec\uff0c\u4f8b\u5982\uff1a<\/p>\n<pre>return redirect()-&amp;gt;route('profile', ['id' =&amp;gt; 1]);<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u5c06\u4e00\u4e2a\u540d\u4e3a\u201cid\u201d\u7684\u53c2\u6570\u4f20\u9012\u7ed9\u8def\u7531\uff0c\u5b83\u7684\u503c\u4e3a1\u3002\u7136\u540e\uff0c\u5728\u76ee\u6807\u8def\u7531\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u7c7b\u4f3c\u4e0b\u9762\u7684\u4ee3\u7801\u6765\u83b7\u53d6\u8fd9\u4e2a\u53c2\u6570\uff1a<\/p>\n<pre>Route::get('user\/{id}', function ($id) {\n    \/\/\n})-&amp;gt;name('profile');<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528$ id\u53d8\u91cf\u6765\u8bbf\u95ee\u4f20\u9012\u7684\u53c2\u6570\u3002<\/p>\n<p>\u4e8c\u3001\u8df3\u8f6c\u5230\u63a7\u5236\u5668\u65b9\u6cd5<\/p>\n<p>\u5728Laravel\u4e2d\uff0c\u6211\u4eec\u4e5f\u53ef\u4ee5\u5b9a\u4e49\u4e00\u4e2a\u63a7\u5236\u5668\u65b9\u6cd5\u4f5c\u4e3a\u8def\u7531\u7684\u5904\u7406\u7a0b\u5e8f\uff0c\u7136\u540e\u8df3\u8f6c\u5230\u8fd9\u4e2a\u63a7\u5236\u5668\u65b9\u6cd5\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u4f8b\u5b50\uff1a<\/p>\n<pre>Route::get('user\/profile', 'UserController@showProfile');<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e00\u4e2a\u540d\u4e3a\u201cshowProfile\u201d\u7684\u63a7\u5236\u5668\u65b9\u6cd5\u4f5c\u4e3a\u8def\u7531\u7684\u5904\u7406\u7a0b\u5e8f\u3002\u5f53\u6211\u4eec\u9700\u8981\u8df3\u8f6c\u5230\u8fd9\u4e2a\u63a7\u5236\u5668\u65b9\u6cd5\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e0b\u9762\u7684\u4ee3\u7801\uff1a<\/p>\n<pre>return redirect()-&amp;gt;action('UserController@showProfile', ['id' =&amp;gt; 1]);<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236    \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u8fd9\u4e2a\u65b9\u6cd5\u63a5\u53d7\u4e00\u4e2a\u63a7\u5236\u5668\u65b9\u6cd5\u540d\u79f0\u4f5c\u4e3a\u53c2\u6570\uff0c\u7136\u540e\u8fd4\u56de\u4e00\u4e2a\u91cd\u5b9a\u5411\u5230\u8be5\u63a7\u5236\u5668\u65b9\u6cd5\u7684\u54cd\u5e94\u3002\u5982\u679c\u60a8\u60f3\u5c06\u53c2\u6570\u4f20\u9012\u7ed9\u63a7\u5236\u5668\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5728\u7b2c\u4e8c\u4e2a\u53c2\u6570\u4e2d\u4f20\u9012\u5b83\u4eec\uff0c\u4f8b\u5982\uff1a<\/p>\n<pre>return redirect()-&amp;gt;action('UserController@showProfile', ['id' =&amp;gt; 1]);<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236    \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u5c06\u4e00\u4e2a\u540d\u4e3a\u201cid\u201d\u7684\u53c2\u6570\u4f20\u9012\u7ed9\u63a7\u5236\u5668\u65b9\u6cd5\uff0c\u5b83\u7684\u503c\u4e3a1\u3002\u7136\u540e\uff0c\u5728\u76ee\u6807\u63a7\u5236\u5668\u65b9\u6cd5\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u7c7b\u4f3c\u4e0b\u9762\u7684\u4ee3\u7801\u6765\u83b7\u53d6\u8fd9\u4e2a\u53c2\u6570\uff1a<\/p>\n<pre>public function showProfile($id)\n{\n    \/\/\n}<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528$ id\u53d8\u91cf\u6765\u8bbf\u95ee\u4f20\u9012\u7684\u53c2\u6570\u3002<\/p>\n<p>\u4e09\u3001\u8df3\u8f6c\u5230URL<\/p>\n<p>\u5728Laravel\u4e2d\uff0c\u6211\u4eec\u4e5f\u53ef\u4ee5\u76f4\u63a5\u8df3\u8f6c\u5230\u4efb\u610fURL\uff0c\u800c\u4e0d\u9700\u8981\u5b9a\u4e49\u4efb\u4f55\u8def\u7531\u6216\u63a7\u5236\u5668\u65b9\u6cd5\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u4f8b\u5b50\uff1a<\/p>\n<pre>return redirect('user\/profile');<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u53ef\u4ee5\u76f4\u63a5\u5c06\u76ee\u6807URL\u4f20\u9012\u7ed9\u91cd\u5b9a\u5411\u51fd\u6570\uff0c\u7136\u540e\u8fd4\u56de\u4e00\u4e2a\u91cd\u5b9a\u5411\u5230\u8be5URL\u7684\u54cd\u5e94\u3002<\/p>\n<p>\u5982\u679c\u4f60\u9700\u8981\u4f20\u9012\u53c2\u6570\uff0c\u4f60\u53ef\u4ee5\u5728URL\u4e2d\u4f7f\u7528\u67e5\u8be2\u5b57\u7b26\u4e32\uff08Query String\uff09\u53c2\u6570\uff0c\u4f8b\u5982\uff1a<\/p>\n<pre>return redirect('user\/profile?id=1');<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u5c06\u4e00\u4e2a\u540d\u4e3a\u201cid\u201d\u7684\u67e5\u8be2\u5b57\u7b26\u4e32\u53c2\u6570\u4f20\u9012\u7ed9\u76ee\u6807URL\uff0c\u5b83\u7684\u503c\u4e3a1\u3002\u7136\u540e\uff0c\u5728\u76ee\u6807\u9875\u9762\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u7c7b\u4f3c\u4e0b\u9762\u7684\u4ee3\u7801\u6765\u83b7\u53d6\u8fd9\u4e2a\u53c2\u6570\uff1a<\/p>\n<pre>$id = request('id');<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u4f7f\u7528request()\u8f85\u52a9\u51fd\u6570\u6765\u83b7\u53d6\u8bf7\u6c42\u4e2d\u7684\u67e5\u8be2\u5b57\u7b26\u4e32\u53c2\u6570\u3002<\/p>\n<p>\u603b\u7ed3<\/p>\n<p>\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u4ecb\u7ecd\u4e86Laravel\u4e2d\u7684\u8df3\u8f6c\u8def\u7531\uff0c\u5305\u62ec\u8df3\u8f6c\u5230\u547d\u540d\u8def\u7531\u3001\u8df3\u8f6c\u5230\u63a7\u5236\u5668\u65b9\u6cd5\u548c\u8df3\u8f6c\u5230URL\u3002\u5728\u5b9e\u9645\u5f00\u53d1\u4e2d\uff0c\u8fd9\u4e9b\u8df3\u8f6c\u8def\u7531\u5c06\u4f1a\u975e\u5e38\u6709\u7528\uff0c\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u5feb\u901f\u5730\u8df3\u8f6c\u5230\u76ee\u6807\u9875\u9762\uff0c\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u548c\u7528\u6237\u4f53\u9a8c\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662flaravel\u8df3\u8f6c\u8def\u7531\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>laravel\u662f\u4e00\u4e2a\u6d41\u884c\u7684php\u6846\u67b6\uff0c\u63d0\u4f9b\u4e86\u8bb8\u591a\u4fbf\u6377\u7684\u529f\u80fd\u548c\u65b9\u6cd5\uff0c\u4f7f\u5f97\u5f00\u53d1\u8005\u53ef\u4ee5\u5feb\u901f\u5730\u5f00\u53d1\u51fa\u9ad8\u6548\u3001\u53ef\u7ef4\u62a4\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u5728laravel\u4e2d\uff0c\u8def\u7531\uff08route\uff09\u662f\u4e00\u4e2a\u975e\u5e38\u91cd\u8981\u7684\u6982\u5ff5\uff0c\u5b83\u5141\u8bb8\u5f00\u53d1\u8005\u5b9a\u4e49\u5e94\u7528\u7a0b\u5e8f\u7684url\u3002 \u5728Laravel\u4e2d\uff0c\u8df3\u8f6c\u8def\u7531\u662f\u4e00\u4e2a\u975e\u5e38\u5e38\u89c1\u7684\u9700\u6c42\uff0c\u6bd4\u5982\u5728\u7528\u6237\u767b\u5f55\u540e\u8df3\u8f6c\u5230\u53e6\u4e00\u4e2a\u9875\u9762\u3001\u5728\u8868\u5355\u63d0\u4ea4\u540e\u8df3\u8f6c\u5230\u53e6\u4e00\u4e2a\u9875\u9762\u7b49\u7b49\u3002\u672c\u6587\u5c06\u4ecb\u7ecdLaravel\u4e2d\u7684\u8df3\u8f6c\u8def\u7531\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u5b83\u4eec\u3002 \u4e00\u3001\u8df3\u8f6c\u5230\u547d\u540d\u8def\u7531 \u5728Laravel\u4e2d\uff0c\u547d\u540d\u8def\u7531\uff08Named Route\uff09\u662f\u4e00\u79cd\u975e\u5e38\u65b9\u4fbf\u7684\u8def\u7531\u5b9a\u4e49\u65b9\u5f0f\u3002\u901a\u8fc7\u7ed9\u8def\u7531\u5b9a\u4e49\u4e00\u4e2a\u540d\u79f0\uff0c\u6211\u4eec\u53ef\u4ee5\u5728\u4ee3\u7801\u4e2d\u4f7f\u7528\u8fd9\u4e2a\u540d\u79f0\u6765\u751f\u6210URL\u6216\u8df3\u8f6c\u5230\u8fd9\u4e2a\u8def\u7531\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u4f8b\u5b50\uff1a Route::get(&#8216;user\/profile&#8217;, function () { \/\/ })-&amp;gt;name(&#8216;profile&#8217;); \u767b\u5f55\u540e\u590d\u5236 \u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e00\u4e2a\u540d\u4e3a\u201cprofile\u201d\u7684\u8def\u7531\uff0c\u5f53\u6211\u4eec\u9700\u8981\u8df3\u8f6c\u5230\u8fd9\u4e2a\u8def\u7531\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e0b\u9762\u7684\u4ee3\u7801\uff1a return redirect()-&amp;gt;route(&#8216;profile&#8217;); \u767b\u5f55\u540e\u590d\u5236 \u8fd9\u4e2a\u65b9\u6cd5\u63a5\u53d7\u4e00\u4e2a\u8def\u7531\u540d\u79f0\u4f5c\u4e3a\u53c2\u6570\uff0c\u7136\u540e\u8fd4\u56de\u4e00\u4e2a\u91cd\u5b9a\u5411\u5230\u8be5\u8def\u7531\u7684\u54cd\u5e94\u3002\u5982\u679c\u60a8\u60f3\u5c06\u53c2\u6570\u4f20\u9012\u7ed9\u8def\u7531\uff0c\u53ef\u4ee5\u5728\u7b2c\u4e8c\u4e2a\u53c2\u6570\u4e2d\u4f20\u9012\u5b83\u4eec\uff0c\u4f8b\u5982\uff1a return redirect()-&amp;gt;route(&#8216;profile&#8217;, [&#8216;id&#8217; =&amp;gt; 1]); \u767b\u5f55\u540e\u590d\u5236 \u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u5c06\u4e00\u4e2a\u540d\u4e3a\u201cid\u201d\u7684\u53c2\u6570\u4f20\u9012\u7ed9\u8def\u7531\uff0c\u5b83\u7684\u503c\u4e3a1\u3002\u7136\u540e\uff0c\u5728\u76ee\u6807\u8def\u7531\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u7c7b\u4f3c\u4e0b\u9762\u7684\u4ee3\u7801\u6765\u83b7\u53d6\u8fd9\u4e2a\u53c2\u6570\uff1a Route::get(&#8216;user\/{id}&#8217;, function ($id) { \/\/ })-&amp;gt;name(&#8216;profile&#8217;); \u767b\u5f55\u540e\u590d\u5236 \u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528$ id\u53d8\u91cf\u6765\u8bbf\u95ee\u4f20\u9012\u7684\u53c2\u6570\u3002 \u4e8c\u3001\u8df3\u8f6c\u5230\u63a7\u5236\u5668\u65b9\u6cd5 \u5728Laravel\u4e2d\uff0c\u6211\u4eec\u4e5f\u53ef\u4ee5\u5b9a\u4e49\u4e00\u4e2a\u63a7\u5236\u5668\u65b9\u6cd5\u4f5c\u4e3a\u8def\u7531\u7684\u5904\u7406\u7a0b\u5e8f\uff0c\u7136\u540e\u8df3\u8f6c\u5230\u8fd9\u4e2a\u63a7\u5236\u5668\u65b9\u6cd5\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u4f8b\u5b50\uff1a Route::get(&#8216;user\/profile&#8217;, &#8216;UserController@showProfile&#8217;); \u767b\u5f55\u540e\u590d\u5236 \u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e00\u4e2a\u540d\u4e3a\u201cshowProfile\u201d\u7684\u63a7\u5236\u5668\u65b9\u6cd5\u4f5c\u4e3a\u8def\u7531\u7684\u5904\u7406\u7a0b\u5e8f\u3002\u5f53\u6211\u4eec\u9700\u8981\u8df3\u8f6c\u5230\u8fd9\u4e2a\u63a7\u5236\u5668\u65b9\u6cd5\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e0b\u9762\u7684\u4ee3\u7801\uff1a return redirect()-&amp;gt;action(&#8216;UserController@showProfile&#8217;, [&#8216;id&#8217; =&amp;gt; 1]); \u767b\u5f55\u540e\u590d\u5236 \u767b\u5f55\u540e\u590d\u5236 \u8fd9\u4e2a\u65b9\u6cd5\u63a5\u53d7\u4e00\u4e2a\u63a7\u5236\u5668\u65b9\u6cd5\u540d\u79f0\u4f5c\u4e3a\u53c2\u6570\uff0c\u7136\u540e\u8fd4\u56de\u4e00\u4e2a\u91cd\u5b9a\u5411\u5230\u8be5\u63a7\u5236\u5668\u65b9\u6cd5\u7684\u54cd\u5e94\u3002\u5982\u679c\u60a8\u60f3\u5c06\u53c2\u6570\u4f20\u9012\u7ed9\u63a7\u5236\u5668\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5728\u7b2c\u4e8c\u4e2a\u53c2\u6570\u4e2d\u4f20\u9012\u5b83\u4eec\uff0c\u4f8b\u5982\uff1a return redirect()-&amp;gt;action(&#8216;UserController@showProfile&#8217;, [&#8216;id&#8217; =&amp;gt; 1]); \u767b\u5f55\u540e\u590d\u5236 \u767b\u5f55\u540e\u590d\u5236 \u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u5c06\u4e00\u4e2a\u540d\u4e3a\u201cid\u201d\u7684\u53c2\u6570\u4f20\u9012\u7ed9\u63a7\u5236\u5668\u65b9\u6cd5\uff0c\u5b83\u7684\u503c\u4e3a1\u3002\u7136\u540e\uff0c\u5728\u76ee\u6807\u63a7\u5236\u5668\u65b9\u6cd5\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u7c7b\u4f3c\u4e0b\u9762\u7684\u4ee3\u7801\u6765\u83b7\u53d6\u8fd9\u4e2a\u53c2\u6570\uff1a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-22999","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/22999","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=22999"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/22999\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=22999"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=22999"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=22999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}