{"id":24089,"date":"2024-11-21T08:37:30","date_gmt":"2024-11-21T00:37:30","guid":{"rendered":"https:\/\/fwq.ai\/blog\/24089\/"},"modified":"2024-11-21T08:37:30","modified_gmt":"2024-11-21T00:37:30","slug":"%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8webman%e6%a1%86%e6%9e%b6%e5%ae%9e%e7%8e%b0%e6%95%b0%e6%8d%ae%e5%8f%af%e8%a7%86%e5%8c%96%e5%92%8c%e6%8a%a5%e8%a1%a8%e7%94%9f%e6%88%90%e5%8a%9f%e8%83%bd%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/24089\/","title":{"rendered":"\u5982\u4f55\u4f7f\u7528Webman\u6846\u67b6\u5b9e\u73b0\u6570\u636e\u53ef\u89c6\u5316\u548c\u62a5\u8868\u751f\u6210\u529f\u80fd\uff1f"},"content":{"rendered":"<p>\u5982\u4f55\u4f7f\u7528webman\u6846\u67b6\u5b9e\u73b0\u6570\u636e\u53ef\u89c6\u5316\u548c\u62a5\u8868\u751f\u6210\u529f\u80fd\uff1f<\/p>\n<p>\u968f\u7740\u5927\u6570\u636e\u548c\u4e92\u8054\u7f51\u7684\u8fc5\u731b\u53d1\u5c55\uff0c\u6570\u636e\u53ef\u89c6\u5316\u548c\u62a5\u8868\u751f\u6210\u5df2\u7ecf\u6210\u4e3a\u8bb8\u591a\u4f01\u4e1a\u548c\u4e2a\u4eba\u7684\u9700\u6c42\u3002Webman\u6846\u67b6\u662f\u4e00\u4e2a\u5f00\u6e90\u7684Python Web\u5f00\u53d1\u6846\u67b6\uff0c\u5b83\u63d0\u4f9b\u4e86\u5feb\u901f\u6784\u5efaWeb\u5e94\u7528\u7a0b\u5e8f\u7684\u529f\u80fd\u548c\u4e30\u5bcc\u7684\u89c6\u56fe\u5e93\u3002\u5728\u672c\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Webman\u6846\u67b6\u5b9e\u73b0\u6570\u636e\u53ef\u89c6\u5316\u548c\u62a5\u8868\u751f\u6210\u529f\u80fd\u3002<\/p>\n<ol>\n<li>\u5b89\u88c5Webman\u6846\u67b6<\/li>\n<\/ol>\n<p>\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u5b89\u88c5Webman\u6846\u67b6\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7pip\u547d\u4ee4\u6765\u5b89\u88c5Webman\uff1a<\/p>\n<pre>pip install webman<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u68c0\u67e5Webman\u7684\u5b89\u88c5\u60c5\u51b5\uff1a<\/p>\n<pre>webman version<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<ol>\n<li>\u521b\u5efa\u4e00\u4e2aWeb\u5e94\u7528\u7a0b\u5e8f<\/li>\n<\/ol>\n<p>\u5728\u5f00\u59cb\u4e4b\u524d\uff0c\u6211\u4eec\u9700\u8981\u5148\u521b\u5efa\u4e00\u4e2aWeb\u5e94\u7528\u7a0b\u5e8f\u3002\u6253\u5f00\u7ec8\u7aef\u5e76\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre>webman start myapp<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u8fd9\u5c06\u521b\u5efa\u4e00\u4e2a\u540d\u4e3amyapp\u7684\u9879\u76ee\u76ee\u5f55\uff0c\u5e76\u5728\u5176\u4e2d\u751f\u6210\u4e00\u4e9b\u57fa\u672c\u7684\u6587\u4ef6\u548c\u76ee\u5f55\u7ed3\u6784\u3002<\/p>\n<ol>\n<li>\u6570\u636e\u53ef\u89c6\u5316<\/li>\n<\/ol>\n<p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Webman\u6846\u67b6\u8fdb\u884c\u6570\u636e\u53ef\u89c6\u5316\u3002\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u51c6\u5907\u4e00\u4e9b\u6570\u636e\u5e76\u5bfc\u5165\u76f8\u5173\u7684\u5e93\u3002\u5728\u4f60\u7684myapp\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u540d\u4e3avisualize.py\u7684\u6587\u4ef6\uff0c\u5e76\u5728\u6587\u4ef6\u4e2d\u7f16\u5199\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<pre>import webman\nimport matplotlib.pyplot as plt\nimport numpy as np\n\n# \u751f\u6210\u4e00\u4e9b\u793a\u4f8b\u6570\u636e\nx = np.linspace(0, 2 * np.pi, 100)\ny = np.sin(x)\n\n# \u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u6298\u7ebf\u56fe\nplt.plot(x, y)\nplt.xlabel('x')\nplt.ylabel('y')\nplt.title('Sin Wave')\n\n# \u5c06\u56fe\u5f62\u4fdd\u5b58\u4e3a\u56fe\u7247\u6587\u4ef6\nplt.savefig('static\/images\/plot.png')<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u4ee5\u4e0a\u4ee3\u7801\u4f7f\u7528\u4e86Matplotlib\u5e93\u6765\u751f\u6210\u4e00\u4e2a\u7b80\u5355\u7684\u6298\u7ebf\u56fe\uff0c\u5e76\u5c06\u7ed3\u679c\u4fdd\u5b58\u4e3a\u4e00\u4e2a\u540d\u4e3aplot.png\u7684\u56fe\u7247\u6587\u4ef6\u3002\u6ce8\u610f\uff0c\u6211\u4eec\u5c06\u56fe\u7247\u4fdd\u5b58\u5728static\/images\u76ee\u5f55\u4e0b\uff0c\u8fd9\u662fWebman\u6846\u67b6\u9ed8\u8ba4\u7684\u9759\u6001\u6587\u4ef6\u76ee\u5f55\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u9700\u8981\u5728Web\u5e94\u7528\u7a0b\u5e8f\u7684\u8def\u7531\u6a21\u5757\u4e2d\u6dfb\u52a0\u4e00\u4e2a\u5bf9\u5e94\u7684\u8def\u7531\u3002\u6253\u5f00myapp\/routes.py\u6587\u4ef6\uff0c\u5e76\u5728\u6587\u4ef6\u4e2d\u7f16\u5199\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<pre>from webman import route\n\n@route('\/plot')\ndef show_plot():\n    return {'template': 'plot.html'}<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u4ee5\u4e0a\u4ee3\u7801\u521b\u5efa\u4e86\u4e00\u4e2a\u540d\u4e3a\/show_plot\u7684\u8def\u7531\uff0c\u5f53\u8bbf\u95ee\u8be5\u8def\u7531\u65f6\uff0c\u5c06\u663e\u793a\u4e00\u5f20\u5305\u542b\u6298\u7ebf\u56fe\u7684\u7f51\u9875\u3002<\/p>\n<p>\u6700\u540e\uff0c\u6211\u4eec\u9700\u8981\u5728\u6a21\u677f\u6587\u4ef6\u4e2d\u52a0\u8f7d\u8fd9\u5f20\u56fe\u7247\u3002\u521b\u5efa\u4e00\u4e2a\u540d\u4e3aplot.html\u7684\u6a21\u677f\u6587\u4ef6\uff0c\u5e76\u5728\u6587\u4ef6\u4e2d\u7f16\u5199\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<pre>\n\n\n    &lt;title&gt;Plot&lt;\/title&gt;&lt;img src=\"%7B%7B%20url_for('static',%20filename='images\/plot.png')%20%7D%7D\" alt=\"Plot\"&gt;<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u4ee5\u4e0a\u4ee3\u7801\u4f7f\u7528\u4e86Flask\u6846\u67b6\u7684\u6a21\u677f\u8bed\u6cd5\uff0c\u4ece\/static\/images\/plot.png\u52a0\u8f7d\u4e86\u4e00\u5f20\u56fe\u7247\u3002<\/p>\n<ol>\n<li>\u62a5\u8868\u751f\u6210<\/li>\n<\/ol>\n<p>\u9664\u4e86\u6570\u636e\u53ef\u89c6\u5316\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u4f7f\u7528Webman\u6846\u67b6\u751f\u6210\u62a5\u8868\u3002\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u5b89\u88c5\u4e00\u4e2a\u540d\u4e3aFpdf\u7684\u5e93\uff0c\u5b83\u63d0\u4f9b\u4e86\u5728Python\u4e2d\u751f\u6210PDF\u6587\u4ef6\u7684\u529f\u80fd\u3002\u6253\u5f00\u7ec8\u7aef\u5e76\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u6765\u5b89\u88c5Fpdf\uff1a<\/p>\n<pre>pip install fpdf<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u5728\u4f60\u7684myapp\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u540d\u4e3areport.py\u7684\u6587\u4ef6\uff0c\u5e76\u5728\u6587\u4ef6\u4e2d\u7f16\u5199\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<pre>from fpdf import FPDF\n\nclass PDF(FPDF):\n    def header(self):\n        self.set_font(\"Arial\", \"B\", 12)\n        self.cell(0, 10, \"Report\", align=\"C\")\n\n    def footer(self):\n        self.set_y(-15)\n        self.set_font(\"Arial\", \"I\", 8)\n        self.cell(0, 10, \"Page %s\" % self.page_no(), 0, 0, \"C\")\n\n    def chapter(self, title, content):\n        self.set_font(\"Arial\", \"B\", 12)\n        self.cell(0, 10, title, ln=True)\n        self.set_font(\"Arial\", \"\", 12)\n        self.multi_cell(0, 10, content)\n\n# \u521b\u5efa\u4e00\u4e2aPDF\u6587\u4ef6\u5e76\u751f\u6210\u62a5\u8868\u5185\u5bb9\npdf = PDF()\npdf.add_page()\npdf.chapter(\"Chapter 1\", \"This is the content of chapter 1.\")\npdf.chapter(\"Chapter 2\", \"This is the content of chapter 2.\")\npdf.output(\"static\/report.pdf\")<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u4ee5\u4e0a\u4ee3\u7801\u5b9a\u4e49\u4e86\u4e00\u4e2a\u540d\u4e3aPDF\u7684\u7c7b\uff0c\u5b83\u7ee7\u627f\u4e86FPDF\u5e93\u7684PDF\u7c7b\u5e76\u91cd\u5199\u4e86header\u548cfooter\u65b9\u6cd5\u3002\u5728chapter\u65b9\u6cd5\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u6dfb\u52a0\u62a5\u8868\u7684\u5185\u5bb9\u3002\u6700\u540e\uff0c\u6211\u4eec\u5c06\u62a5\u8868\u4fdd\u5b58\u4e3a\u4e00\u4e2a\u540d\u4e3areport.pdf\u7684PDF\u6587\u4ef6\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u9700\u8981\u5728Web\u5e94\u7528\u7a0b\u5e8f\u7684\u8def\u7531\u6a21\u5757\u4e2d\u6dfb\u52a0\u4e00\u4e2a\u5bf9\u5e94\u7684\u8def\u7531\u3002\u6253\u5f00myapp\/routes.py\u6587\u4ef6\uff0c\u5e76\u5728\u6587\u4ef6\u4e2d\u7f16\u5199\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<pre>from webman import route\n\n@route('\/report')\ndef show_report():\n    return {'template': 'report.html'}<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u4ee5\u4e0a\u4ee3\u7801\u521b\u5efa\u4e86\u4e00\u4e2a\u540d\u4e3a\/show_report\u7684\u8def\u7531\u3002<\/p>\n<p>\u6700\u540e\uff0c\u6211\u4eec\u9700\u8981\u5728\u6a21\u677f\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4e00\u4e2a\u94fe\u63a5\uff0c\u4ee5\u4fbf\u7528\u6237\u53ef\u4ee5\u4e0b\u8f7d\u62a5\u8868\u6587\u4ef6\u3002\u6253\u5f00report.html\u6a21\u677f\u6587\u4ef6\uff0c\u5e76\u5728\u6587\u4ef6\u4e2d\u7f16\u5199\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<pre>\n\n\n    &lt;title&gt;Report&lt;\/title&gt;&lt;a href=\"%7B%7B%20url_for('static',%20filename='report.pdf')%20%7D%7D\" download&gt;Download Report&lt;\/a&gt;\n\n<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u4ee5\u4e0a\u4ee3\u7801\u5728\u7f51\u9875\u4e2d\u6dfb\u52a0\u4e86\u4e00\u4e2a\u94fe\u63a5\uff0c\u6307\u5411\u62a5\u8868\u6587\u4ef6\u3002\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u70b9\u51fb\u94fe\u63a5\u6765\u4e0b\u8f7d\u62a5\u8868\u3002<\/p>\n<ol>\n<li>\u8fd0\u884cWeb\u5e94\u7528\u7a0b\u5e8f<\/li>\n<\/ol>\n<p>\u5b8c\u6210\u4ee5\u4e0a\u6b65\u9aa4\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u8fd0\u884cWeb\u5e94\u7528\u7a0b\u5e8f\uff1a<\/p>\n<pre>webman run<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u7136\u540e\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95eehttp:\/\/localhost:5000\/plot\u548chttp:\/\/localhost:5000\/report\uff0c\u4f60\u5c06\u770b\u5230\u6570\u636e\u53ef\u89c6\u5316\u548c\u62a5\u8868\u751f\u6210\u7684\u7ed3\u679c\u3002<\/p>\n<p>\u603b\u7ed3\uff1a<\/p>\n<p>\u5728\u672c\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528Webman\u6846\u67b6\u5b9e\u73b0\u6570\u636e\u53ef\u89c6\u5316\u548c\u62a5\u8868\u751f\u6210\u529f\u80fd\u3002\u901a\u8fc7\u4f7f\u7528Matplotlib\u5e93\u8fdb\u884c\u6570\u636e\u53ef\u89c6\u5316\u548cFpdf\u5e93\u751f\u6210\u62a5\u8868\uff0c\u6211\u4eec\u53ef\u4ee5\u8f7b\u677e\u5730\u5728Web\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5c55\u793a\u548c\u5206\u4eab\u6570\u636e\u3002\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\uff01<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5982\u4f55\u4f7f\u7528Webman\u6846\u67b6\u5b9e\u73b0\u6570\u636e\u53ef\u89c6\u5316\u548c\u62a5\u8868\u751f\u6210\u529f\u80fd\uff1f\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>\u5982\u4f55\u4f7f\u7528webman\u6846\u67b6\u5b9e\u73b0\u6570\u636e\u53ef\u89c6\u5316\u548c\u62a5\u8868\u751f\u6210\u529f\u80fd\uff1f \u968f\u7740\u5927\u6570\u636e\u548c\u4e92\u8054\u7f51\u7684\u8fc5\u731b\u53d1\u5c55\uff0c\u6570\u636e\u53ef\u89c6\u5316\u548c\u62a5\u8868\u751f\u6210\u5df2\u7ecf\u6210\u4e3a\u8bb8\u591a\u4f01\u4e1a\u548c\u4e2a\u4eba\u7684\u9700\u6c42\u3002Webman\u6846\u67b6\u662f\u4e00\u4e2a\u5f00\u6e90\u7684Python Web\u5f00\u53d1\u6846\u67b6\uff0c\u5b83\u63d0\u4f9b\u4e86\u5feb\u901f\u6784\u5efaWeb\u5e94\u7528\u7a0b\u5e8f\u7684\u529f\u80fd\u548c\u4e30\u5bcc\u7684\u89c6\u56fe\u5e93\u3002\u5728\u672c\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Webman\u6846\u67b6\u5b9e\u73b0\u6570\u636e\u53ef\u89c6\u5316\u548c\u62a5\u8868\u751f\u6210\u529f\u80fd\u3002 \u5b89\u88c5Webman\u6846\u67b6 \u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u5b89\u88c5Webman\u6846\u67b6\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7pip\u547d\u4ee4\u6765\u5b89\u88c5Webman\uff1a pip install webman \u767b\u5f55\u540e\u590d\u5236 \u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u68c0\u67e5Webman\u7684\u5b89\u88c5\u60c5\u51b5\uff1a webman version \u767b\u5f55\u540e\u590d\u5236 \u521b\u5efa\u4e00\u4e2aWeb\u5e94\u7528\u7a0b\u5e8f \u5728\u5f00\u59cb\u4e4b\u524d\uff0c\u6211\u4eec\u9700\u8981\u5148\u521b\u5efa\u4e00\u4e2aWeb\u5e94\u7528\u7a0b\u5e8f\u3002\u6253\u5f00\u7ec8\u7aef\u5e76\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a webman start myapp \u767b\u5f55\u540e\u590d\u5236 \u8fd9\u5c06\u521b\u5efa\u4e00\u4e2a\u540d\u4e3amyapp\u7684\u9879\u76ee\u76ee\u5f55\uff0c\u5e76\u5728\u5176\u4e2d\u751f\u6210\u4e00\u4e9b\u57fa\u672c\u7684\u6587\u4ef6\u548c\u76ee\u5f55\u7ed3\u6784\u3002 \u6570\u636e\u53ef\u89c6\u5316 \u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Webman\u6846\u67b6\u8fdb\u884c\u6570\u636e\u53ef\u89c6\u5316\u3002\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u51c6\u5907\u4e00\u4e9b\u6570\u636e\u5e76\u5bfc\u5165\u76f8\u5173\u7684\u5e93\u3002\u5728\u4f60\u7684myapp\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u540d\u4e3avisualize.py\u7684\u6587\u4ef6\uff0c\u5e76\u5728\u6587\u4ef6\u4e2d\u7f16\u5199\u4ee5\u4e0b\u4ee3\u7801\uff1a import webman import matplotlib.pyplot as plt import numpy as np # \u751f\u6210\u4e00\u4e9b\u793a\u4f8b\u6570\u636e x = np.linspace(0, 2 * np.pi, 100) y = np.sin(x) # \u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u6298\u7ebf\u56fe plt.plot(x, y) plt.xlabel(&#8216;x&#8217;) plt.ylabel(&#8216;y&#8217;) plt.title(&#8216;Sin Wave&#8217;) # \u5c06\u56fe\u5f62\u4fdd\u5b58\u4e3a\u56fe\u7247\u6587\u4ef6 plt.savefig(&#8216;static\/images\/plot.png&#8217;) [&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-24089","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/24089","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=24089"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/24089\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=24089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=24089"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=24089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}