{"id":1062350,"date":"2024-12-31T15:51:00","date_gmt":"2024-12-31T07:51:00","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1062350.html"},"modified":"2024-12-31T15:51:03","modified_gmt":"2024-12-31T07:51:03","slug":"%e5%a6%82%e4%bd%95%e7%94%a8python%e5%88%b6%e4%bd%9c%e4%b8%80%e4%b8%aa%e7%bd%91%e9%a1%b5","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1062350.html","title":{"rendered":"\u5982\u4f55\u7528python\u5236\u4f5c\u4e00\u4e2a\u7f51\u9875"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2024\/12\/8e4b5838-a076-4815-8d23-141b5edd4f73.webp?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"\u5982\u4f55\u7528python\u5236\u4f5c\u4e00\u4e2a\u7f51\u9875\" \/><\/p>\n<p><p> <strong>\u5982\u4f55\u7528Python\u5236\u4f5c\u4e00\u4e2a\u7f51\u9875<\/strong><\/p>\n<\/p>\n<p><p><strong>\u7528Python\u5236\u4f5c\u4e00\u4e2a\u7f51\u9875\u7684\u6b65\u9aa4\u5305\u62ec\uff1a\u9009\u62e9\u9002\u5408\u7684\u6846\u67b6\u3001\u5b89\u88c5\u548c\u914d\u7f6e\u73af\u5883\u3001\u521b\u5efa\u57fa\u672c\u9875\u9762\u3001\u589e\u52a0\u52a8\u6001\u5185\u5bb9\u3001\u90e8\u7f72\u5230\u670d\u52a1\u5668\u3002<\/strong> \u9009\u62e9\u9002\u5408\u7684\u6846\u67b6\u662f\u5173\u952e\u6b65\u9aa4\u4e4b\u4e00\uff0c\u5e38\u89c1\u7684\u6709Flask\u548cDjango\u3002Flask\u9002\u5408\u5c0f\u578b\u9879\u76ee\u548c\u521d\u5b66\u8005\uff0c\u56e0\u4e3a\u5b83\u8f7b\u91cf\u7ea7\u4e14\u6613\u4e8e\u5b66\u4e60\uff1bDjango\u529f\u80fd\u5f3a\u5927\uff0c\u9002\u5408\u5927\u578b\u9879\u76ee\u3002\u4e0b\u9762\u4ee5Flask\u4e3a\u4f8b\uff0c\u8be6\u7ec6\u63cf\u8ff0\u5982\u4f55\u7528Python\u5236\u4f5c\u4e00\u4e2a\u7f51\u9875\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u9009\u62e9\u9002\u5408\u7684\u6846\u67b6<\/h3>\n<\/p>\n<p><p>\u9009\u62e9\u6846\u67b6\u53d6\u51b3\u4e8e\u9879\u76ee\u7684\u89c4\u6a21\u548c\u590d\u6742\u6027\u3002Flask\u548cDjango\u662fPython\u4e2d\u6700\u5e38\u7528\u7684\u4e24\u4e2a\u6846\u67b6\u3002<\/p>\n<\/p>\n<p><h4>1\u3001Flask\u6846\u67b6<\/h4>\n<\/p>\n<p><p>Flask\u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684Web\u6846\u67b6\uff0c\u9002\u5408\u4e8e\u5c0f\u578b\u9879\u76ee\u548c\u5feb\u901f\u539f\u578b\u5f00\u53d1\u3002\u5b83\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u6269\u5c55\uff0c\u53ef\u4ee5\u6839\u636e\u9700\u6c42\u81ea\u7531\u9009\u62e9\u3002<\/p>\n<\/p>\n<p><h4>2\u3001Django\u6846\u67b6<\/h4>\n<\/p>\n<p><p>Django\u662f\u4e00\u4e2a\u529f\u80fd\u5f3a\u5927\u7684Web\u6846\u67b6\uff0c\u9002\u7528\u4e8e\u5927\u578b\u9879\u76ee\u3002\u5b83\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u5305\u62ecORM\u3001\u7ba1\u7406\u540e\u53f0\u3001\u7528\u6237\u8ba4\u8bc1\u7b49\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u5b89\u88c5\u548c\u914d\u7f6e\u73af\u5883<\/h3>\n<\/p>\n<p><h4>1\u3001\u5b89\u88c5Python\u548cFlask<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u786e\u4fdd\u5df2\u7ecf\u5b89\u88c5\u4e86Python\u3002\u53ef\u4ee5\u4ecePython\u7684\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u5e76\u5b89\u88c5\u6700\u65b0\u7248\u672c\u3002\u7136\u540e\uff0c\u4f7f\u7528pip\u5b89\u88c5Flask\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install Flask<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u521b\u5efa\u9879\u76ee\u76ee\u5f55<\/h4>\n<\/p>\n<p><p>\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u76ee\u5f55\uff0c\u7528\u4e8e\u5b58\u653e\u9879\u76ee\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">mkdir my_flask_app<\/p>\n<p>cd my_flask_app<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u521b\u5efa\u57fa\u672c\u9875\u9762<\/h3>\n<\/p>\n<p><h4>1\u3001\u521b\u5efa\u5e94\u7528\u7a0b\u5e8f\u6587\u4ef6<\/h4>\n<\/p>\n<p><p>\u5728\u9879\u76ee\u76ee\u5f55\u4e2d\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>app.py<\/code>\u7684\u6587\u4ef6\uff0c\u8fd9\u662fFlask\u5e94\u7528\u7684\u4e3b\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from flask import Flask<\/p>\n<p>app = Flask(__name__)<\/p>\n<p>@app.route(&#39;\/&#39;)<\/p>\n<p>def home():<\/p>\n<p>    return &quot;Hello, Flask!&quot;<\/p>\n<p>if __name__ == &#39;__m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n__&#39;:<\/p>\n<p>    app.run(debug=True)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u6587\u4ef6\u5b9a\u4e49\u4e86\u4e00\u4e2a\u7b80\u5355\u7684Flask\u5e94\u7528\uff0c\u5e76\u5728\u6839\u8def\u5f84\uff08<code>\/<\/code>\uff09\u4e0a\u8fd4\u56de\u201cHello, Flask!\u201d\u3002<\/p>\n<\/p>\n<p><h4>2\u3001\u8fd0\u884c\u5e94\u7528\u7a0b\u5e8f<\/h4>\n<\/p>\n<p><p>\u5728\u7ec8\u7aef\u4e2d\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u542f\u52a8\u5e94\u7528\u7a0b\u5e8f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python app.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6253\u5f00\u6d4f\u89c8\u5668\uff0c\u8bbf\u95ee<code>http:\/\/127.0.0.1:5000\/<\/code>\uff0c\u4f60\u5e94\u8be5\u4f1a\u770b\u5230\u201cHello, Flask!\u201d\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u589e\u52a0\u52a8\u6001\u5185\u5bb9<\/h3>\n<\/p>\n<p><h4>1\u3001\u4f7f\u7528\u6a21\u677f\u5f15\u64ce<\/h4>\n<\/p>\n<p><p>Flask\u4f7f\u7528Jinja2\u6a21\u677f\u5f15\u64ce\u6765\u6e32\u67d3HTML\u9875\u9762\u3002\u521b\u5efa\u4e00\u4e2a\u76ee\u5f55\u6765\u5b58\u653e\u6a21\u677f\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">mkdir templates<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728<code>templates<\/code>\u76ee\u5f55\u4e2d\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>index.html<\/code>\u7684\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-html\">&lt;!DOCTYPE html&gt;<\/p>\n<p>&lt;html&gt;<\/p>\n<p>&lt;head&gt;<\/p>\n<p>    &lt;title&gt;My Flask App&lt;\/title&gt;<\/p>\n<p>&lt;\/head&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>    &lt;h1&gt;{{ title }}&lt;\/h1&gt;<\/p>\n<p>    &lt;p&gt;{{ content }}&lt;\/p&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4fee\u6539<code>app.py<\/code>\u6587\u4ef6\uff0c\u4f7f\u7528\u6a21\u677f\u6765\u6e32\u67d3\u9875\u9762\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from flask import Flask, render_template<\/p>\n<p>app = Flask(__name__)<\/p>\n<p>@app.route(&#39;\/&#39;)<\/p>\n<p>def home():<\/p>\n<p>    return render_template(&#39;index.html&#39;, title=&#39;Welcome&#39;, content=&#39;Hello, Flask!&#39;)<\/p>\n<p>if __name__ == &#39;__main__&#39;:<\/p>\n<p>    app.run(debug=True)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u91cd\u65b0\u542f\u52a8\u5e94\u7528\u7a0b\u5e8f\uff0c\u4f60\u4f1a\u770b\u5230\u4e00\u4e2a\u5305\u542b\u6807\u9898\u548c\u5185\u5bb9\u7684HTML\u9875\u9762\u3002<\/p>\n<\/p>\n<p><h4>2\u3001\u5904\u7406\u8868\u5355\u548c\u7528\u6237\u8f93\u5165<\/h4>\n<\/p>\n<p><p>\u6dfb\u52a0\u4e00\u4e2a\u7b80\u5355\u7684\u8868\u5355\uff0c\u8ba9\u7528\u6237\u53ef\u4ee5\u63d0\u4ea4\u6570\u636e\u3002\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>form.html<\/code>\u7684\u6a21\u677f\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-html\">&lt;!DOCTYPE html&gt;<\/p>\n<p>&lt;html&gt;<\/p>\n<p>&lt;head&gt;<\/p>\n<p>    &lt;title&gt;Form&lt;\/title&gt;<\/p>\n<p>&lt;\/head&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>    &lt;h1&gt;Submit Your Name&lt;\/h1&gt;<\/p>\n<p>    &lt;form method=&quot;POST&quot;&gt;<\/p>\n<p>        &lt;input type=&quot;text&quot; name=&quot;name&quot;&gt;<\/p>\n<p>        &lt;input type=&quot;submit&quot; value=&quot;Submit&quot;&gt;<\/p>\n<p>    &lt;\/form&gt;<\/p>\n<p>    {% if name %}<\/p>\n<p>        &lt;p&gt;Hello, {{ name }}!&lt;\/p&gt;<\/p>\n<p>    {% endif %}<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728<code>app.py<\/code>\u4e2d\u6dfb\u52a0\u4e00\u4e2a\u65b0\u7684\u8def\u7531\uff0c\u5904\u7406\u8868\u5355\u63d0\u4ea4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from flask import Flask, render_template, request<\/p>\n<p>app = Flask(__name__)<\/p>\n<p>@app.route(&#39;\/&#39;)<\/p>\n<p>def home():<\/p>\n<p>    return render_template(&#39;index.html&#39;, title=&#39;Welcome&#39;, content=&#39;Hello, Flask!&#39;)<\/p>\n<p>@app.route(&#39;\/form&#39;, methods=[&#39;GET&#39;, &#39;POST&#39;])<\/p>\n<p>def form():<\/p>\n<p>    name = None<\/p>\n<p>    if request.method == &#39;POST&#39;:<\/p>\n<p>        name = request.form[&#39;name&#39;]<\/p>\n<p>    return render_template(&#39;form.html&#39;, name=name)<\/p>\n<p>if __name__ == &#39;__main__&#39;:<\/p>\n<p>    app.run(debug=True)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8bbf\u95ee<code>http:\/\/127.0.0.1:5000\/form<\/code>\uff0c\u53ef\u4ee5\u770b\u5230\u4e00\u4e2a\u8868\u5355\uff0c\u63d0\u4ea4\u540e\u4f1a\u663e\u793a\u7528\u6237\u8f93\u5165\u7684\u540d\u5b57\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u90e8\u7f72\u5230\u670d\u52a1\u5668<\/h3>\n<\/p>\n<p><h4>1\u3001\u9009\u62e9\u90e8\u7f72\u5e73\u53f0<\/h4>\n<\/p>\n<p><p>\u5e38\u89c1\u7684\u90e8\u7f72\u5e73\u53f0\u6709Heroku\u3001DigitalOcean\u3001AWS\u7b49\u3002\u8fd9\u91cc\u4ee5Heroku\u4e3a\u4f8b\u3002<\/p>\n<\/p>\n<p><h4>2\u3001\u5b89\u88c5Heroku CLI<\/h4>\n<\/p>\n<p><p>\u4eceHeroku\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u5e76\u5b89\u88c5Heroku CLI\u3002\u7136\u540e\uff0c\u5728\u7ec8\u7aef\u4e2d\u767b\u5f55\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">heroku login<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3\u3001\u521b\u5efaProcfile\u548crequirements.txt<\/h4>\n<\/p>\n<p><p>\u5728\u9879\u76ee\u76ee\u5f55\u4e2d\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>Procfile<\/code>\u7684\u6587\u4ef6\uff0c\u5b9a\u4e49\u5e94\u7528\u7a0b\u5e8f\u7684\u542f\u52a8\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-plaintext\">web: python app.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f7f\u7528pip freeze\u547d\u4ee4\u751f\u6210<code>requirements.txt<\/code>\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip freeze &gt; requirements.txt<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>4\u3001\u90e8\u7f72\u5230Heroku<\/h4>\n<\/p>\n<p><p>\u521d\u59cb\u5316Git\u4ed3\u5e93\u5e76\u63d0\u4ea4\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">git init<\/p>\n<p>git add .<\/p>\n<p>git commit -m &quot;Initial commit&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u521b\u5efaHeroku\u5e94\u7528\u5e76\u63a8\u9001\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">heroku create<\/p>\n<p>git push heroku master<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5e94\u7528\u90e8\u7f72\u6210\u529f\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6253\u5f00\u5e94\u7528\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">heroku open<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u7ed3\u8bba<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u9009\u62e9\u9002\u5408\u7684\u6846\u67b6\u3001\u5b89\u88c5\u548c\u914d\u7f6e\u73af\u5883\u3001\u521b\u5efa\u57fa\u672c\u9875\u9762\u3001\u589e\u52a0\u52a8\u6001\u5185\u5bb9\u3001\u90e8\u7f72\u5230\u670d\u52a1\u5668\uff0c\u6211\u4eec\u6210\u529f\u5730\u7528Python\u5236\u4f5c\u4e86\u4e00\u4e2a\u7f51\u9875\u3002\u65e0\u8bba\u662f\u9009\u62e9Flask\u8fd8\u662fDjango\uff0c\u90fd\u53ef\u4ee5\u6839\u636e\u9879\u76ee\u9700\u6c42\u8fdb\u884c\u9002\u5f53\u7684\u8c03\u6574\u548c\u6269\u5c55\u3002\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\uff0c\u795d\u4f60\u5728Web\u5f00\u53d1\u4e4b\u65c5\u4e2d\u53d6\u5f97\u6210\u529f\uff01<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5f00\u59cb\u7528Python\u5236\u4f5c\u7f51\u9875\uff1f<\/strong><br \/>\u8981\u5f00\u59cb\u4f7f\u7528Python\u5236\u4f5c\u7f51\u9875\uff0c\u9996\u5148\u9700\u8981\u9009\u62e9\u4e00\u4e2a\u9002\u5408\u7684\u6846\u67b6\uff0c\u5982Flask\u6216Django\u3002Flask\u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u6846\u67b6\uff0c\u9002\u5408\u5c0f\u578b\u9879\u76ee\u548c\u521d\u5b66\u8005\uff0c\u800cDjango\u5219\u63d0\u4f9b\u4e86\u66f4\u4e3a\u5168\u9762\u7684\u529f\u80fd\uff0c\u9002\u5408\u5927\u578b\u5e94\u7528\u3002\u5b89\u88c5\u6240\u9009\u6846\u67b6\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u521b\u5efa\u8def\u7531\u548c\u89c6\u56fe\u51fd\u6570\u6765\u5b9a\u4e49\u7f51\u9875\u7684\u7ed3\u6784\u548c\u5185\u5bb9\u3002<\/p>\n<p><strong>\u5728Python\u7f51\u9875\u5f00\u53d1\u4e2d\uff0c\u5982\u4f55\u5904\u7406\u6570\u636e\u5e93\uff1f<\/strong><br \/>\u5728\u4f7f\u7528Python\u8fdb\u884c\u7f51\u9875\u5f00\u53d1\u65f6\uff0c\u53ef\u4ee5\u9009\u62e9\u4f7f\u7528ORM\uff08\u5bf9\u8c61\u5173\u7cfb\u6620\u5c04\uff09\u5de5\u5177\uff0c\u5982Django\u7684ORM\u6216SQLAlchemy\u3002\u901a\u8fc7\u8fd9\u4e9b\u5de5\u5177\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u4e0e\u6570\u636e\u5e93\u4ea4\u4e92\uff0c\u8fdb\u884c\u6570\u636e\u7684\u589e\u5220\u6539\u67e5\u64cd\u4f5c\u3002\u9700\u8981\u5148\u914d\u7f6e\u6570\u636e\u5e93\u8fde\u63a5\uff0c\u7136\u540e\u5b9a\u4e49\u6570\u636e\u6a21\u578b\uff0c\u6700\u540e\u4f7f\u7528\u6a21\u578b\u8fdb\u884c\u6570\u636e\u5e93\u64cd\u4f5c\u3002<\/p>\n<p><strong>\u5982\u4f55\u786e\u4fdd\u7528Python\u5236\u4f5c\u7684\u7f51\u9875\u5177\u6709\u826f\u597d\u7684\u7528\u6237\u4f53\u9a8c\uff1f<\/strong><br \/>\u4e3a\u786e\u4fdd\u7f51\u9875\u5177\u6709\u826f\u597d\u7684\u7528\u6237\u4f53\u9a8c\uff0c\u53ef\u4ee5\u4ece\u591a\u4e2a\u65b9\u9762\u5165\u624b\u3002\u9996\u5148\uff0c\u8bbe\u8ba1\u7b80\u6d01\u76f4\u89c2\u7684\u7528\u6237\u754c\u9762\uff0c\u4f7f\u7528\u54cd\u5e94\u5f0f\u8bbe\u8ba1\u786e\u4fdd\u5728\u4e0d\u540c\u8bbe\u5907\u4e0a\u90fd\u80fd\u826f\u597d\u663e\u793a\u3002\u5176\u6b21\uff0c\u4f18\u5316\u7f51\u9875\u52a0\u8f7d\u901f\u5ea6\uff0c\u538b\u7f29\u56fe\u7247\u548c\u4f7f\u7528\u7f13\u5b58\u6280\u672f\u3002\u6b64\u5916\uff0c\u786e\u4fdd\u7f51\u9875\u5185\u5bb9\u6613\u4e8e\u5bfc\u822a\uff0c\u4f7f\u7528\u6e05\u6670\u7684\u83dc\u5355\u548c\u94fe\u63a5\uff0c\u4f7f\u7528\u6237\u80fd\u591f\u5feb\u901f\u627e\u5230\u6240\u9700\u4fe1\u606f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5982\u4f55\u7528Python\u5236\u4f5c\u4e00\u4e2a\u7f51\u9875 \u7528Python\u5236\u4f5c\u4e00\u4e2a\u7f51\u9875\u7684\u6b65\u9aa4\u5305\u62ec\uff1a\u9009\u62e9\u9002\u5408\u7684\u6846\u67b6\u3001\u5b89\u88c5\u548c\u914d\u7f6e\u73af\u5883\u3001\u521b\u5efa\u57fa\u672c [&hellip;]","protected":false},"author":3,"featured_media":1062363,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1062350"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=1062350"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1062350\/revisions"}],"predecessor-version":[{"id":1062365,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1062350\/revisions\/1062365"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1062363"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1062350"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1062350"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1062350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}