{"id":956314,"date":"2024-12-27T02:32:30","date_gmt":"2024-12-26T18:32:30","guid":{"rendered":""},"modified":"2024-12-27T02:32:32","modified_gmt":"2024-12-26T18:32:32","slug":"jsp%e5%a6%82%e4%bd%95%e8%b0%83%e7%94%a8python%e8%84%9a%e6%9c%ac","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/956314.html","title":{"rendered":"jsp\u5982\u4f55\u8c03\u7528python\u811a\u672c"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25100002\/f46ff666-8300-4484-9da5-772f0dfb3ec6.webp\" alt=\"jsp\u5982\u4f55\u8c03\u7528python\u811a\u672c\" \/><\/p>\n<p><p> <strong>\u5728JSP\u4e2d\u8c03\u7528Python\u811a\u672c\u7684\u65b9\u6cd5\u5305\u62ec\u901a\u8fc7\u547d\u4ee4\u884c\u8c03\u7528\u3001\u4f7f\u7528Java ProcessBuilder\u3001\u4f7f\u7528Jython\u3001\u901a\u8fc7Web\u670d\u52a1\u901a\u4fe1\u7b49\u65b9\u5f0f\u3002<\/strong> \u5176\u4e2d\uff0c\u4f7f\u7528Java ProcessBuilder\u662f\u8f83\u4e3a\u76f4\u63a5\u7684\u65b9\u6cd5\uff0c\u5b83\u5141\u8bb8Java\u4ee3\u7801\u542f\u52a8\u5e76\u63a7\u5236\u5916\u90e8\u8fdb\u7a0b\uff0c\u4f8b\u5982Python\u811a\u672c\u3002<strong>\u901a\u8fc7Web\u670d\u52a1\u901a\u4fe1\u7684\u65b9\u5f0f<\/strong>\uff0c\u53ef\u4ee5\u4f7fJava\u5e94\u7528\u7a0b\u5e8f\u4e0ePython\u811a\u672c\u8fdb\u884c\u66f4\u7075\u6d3b\u7684\u4ea4\u4e92\uff0c\u5c24\u5176\u9002\u5408\u590d\u6742\u7684\u5e94\u7528\u573a\u666f\u3002<\/p>\n<\/p>\n<p><p>\u4f7f\u7528Java\u7684ProcessBuilder\u7c7b\u6765\u6267\u884cPython\u811a\u672c\u662f\u4e00\u79cd\u5e38\u89c1\u4e14\u9ad8\u6548\u7684\u65b9\u6cd5\u3002\u5b83\u5141\u8bb8Java\u7a0b\u5e8f\u5728\u8fd0\u884c\u65f6\u542f\u52a8\u5916\u90e8\u8fdb\u7a0b\uff0c\u5e76\u901a\u8fc7\u8f93\u5165\u8f93\u51fa\u6d41\u4e0e\u4e4b\u4ea4\u4e92\u3002\u9996\u5148\uff0c\u786e\u4fdd\u670d\u52a1\u5668\u4e0a\u5b89\u88c5\u6709Python\uff0c\u5e76\u4e14\u73af\u5883\u53d8\u91cf\u5df2\u6b63\u786e\u914d\u7f6e\u3002\u7136\u540e\uff0c\u5728JSP\u4e2d\u901a\u8fc7Java\u4ee3\u7801\u521b\u5efaProcessBuilder\u5b9e\u4f8b\uff0c\u5e76\u4f20\u5165Python\u811a\u672c\u7684\u8def\u5f84\u53ca\u53c2\u6570\u3002\u8fd9\u6837\u53ef\u4ee5\u5728Java\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5b9e\u73b0\u5bf9Python\u811a\u672c\u7684\u8c03\u7528\u548c\u7ed3\u679c\u5904\u7406\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u7684\u6b65\u9aa4\u548c\u793a\u4f8b\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u901a\u8fc7ProcessBuilder\u8c03\u7528Python\u811a\u672c<\/h3>\n<\/p>\n<p><h4>1. \u51c6\u5907Python\u811a\u672c<\/h4>\n<\/p>\n<p><p>\u5728\u5f00\u59cb\u4e4b\u524d\uff0c\u9996\u5148\u9700\u8981\u51c6\u5907\u4e00\u4e2aPython\u811a\u672c\u3002\u4f8b\u5982\uff0c\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>example.py<\/code>\u7684Python\u6587\u4ef6\uff0c\u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import sys<\/p>\n<p>def m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n():<\/p>\n<p>    # \u83b7\u53d6\u4ece\u547d\u4ee4\u884c\u4f20\u9012\u7684\u53c2\u6570<\/p>\n<p>    args = sys.argv[1:]<\/p>\n<p>    print(&quot;Received arguments:&quot;, args)<\/p>\n<p>    # \u8fd4\u56de\u4e00\u4e2a\u7b80\u5355\u7684\u8ba1\u7b97\u7ed3\u679c<\/p>\n<p>    result = sum(map(int, args))<\/p>\n<p>    print(&quot;Result:&quot;, result)<\/p>\n<p>if __name__ == &quot;__main__&quot;:<\/p>\n<p>    main()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u5728JSP\u4e2d\u4f7f\u7528ProcessBuilder<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528JSP\u8c03\u7528Python\u811a\u672c\u9700\u8981\u5728JSP\u9875\u9762\u4e2d\u5d4c\u5165Java\u4ee3\u7801\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-jsp\">&lt;%@ page import=&quot;java.io.*&quot; %&gt;<\/p>\n<p>&lt;%@ page import=&quot;java.util.*&quot; %&gt;<\/p>\n<p>&lt;html&gt;<\/p>\n<p>&lt;head&gt;&lt;title&gt;JSP\u8c03\u7528Python\u811a\u672c\u793a\u4f8b&lt;\/title&gt;&lt;\/head&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>&lt;%<\/p>\n<p>    \/\/ Python\u811a\u672c\u8def\u5f84<\/p>\n<p>    String pythonScriptPath = &quot;\/path\/to\/example.py&quot;;<\/p>\n<p>    \/\/ \u521b\u5efaProcessBuilder\u5b9e\u4f8b<\/p>\n<p>    ProcessBuilder processBuilder = new ProcessBuilder(&quot;python&quot;, pythonScriptPath, &quot;1&quot;, &quot;2&quot;, &quot;3&quot;);<\/p>\n<p>    \/\/ \u8bbe\u7f6e\u5de5\u4f5c\u76ee\u5f55\uff08\u53ef\u9009\uff09<\/p>\n<p>    processBuilder.directory(new File(&quot;\/path\/to&quot;));<\/p>\n<p>    try {<\/p>\n<p>        \/\/ \u542f\u52a8\u8fdb\u7a0b<\/p>\n<p>        Process process = processBuilder.start();<\/p>\n<p>        \/\/ \u83b7\u53d6\u811a\u672c\u7684\u6807\u51c6\u8f93\u51fa<\/p>\n<p>        BufferedReader reader = new BufferedReader(new InputStreamReader(process.getInputStream()));<\/p>\n<p>        StringBuilder output = new StringBuilder();<\/p>\n<p>        String line;<\/p>\n<p>        while ((line = reader.readLine()) != null) {<\/p>\n<p>            output.append(line).append(&quot;&lt;br&gt;&quot;);<\/p>\n<p>        }<\/p>\n<p>        \/\/ \u7b49\u5f85\u8fdb\u7a0b\u7ed3\u675f\u5e76\u83b7\u53d6\u9000\u51fa\u503c<\/p>\n<p>        int exitCode = process.waitFor();<\/p>\n<p>        \/\/ \u8f93\u51fa\u7ed3\u679c<\/p>\n<p>        out.println(&quot;Python\u811a\u672c\u6267\u884c\u7ed3\u679c:&lt;br&gt;&quot;);<\/p>\n<p>        out.println(output.toString());<\/p>\n<p>        out.println(&quot;\u9000\u51fa\u4ee3\u7801: &quot; + exitCode);<\/p>\n<p>    } catch (IOException | InterruptedException e) {<\/p>\n<p>        e.printStackTrace();<\/p>\n<p>        out.println(&quot;\u8c03\u7528Python\u811a\u672c\u65f6\u51fa\u9519: &quot; + e.getMessage());<\/p>\n<p>    }<\/p>\n<p>%&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u901a\u8fc7Web\u670d\u52a1\u8c03\u7528Python\u811a\u672c<\/h3>\n<\/p>\n<p><h4>1. \u521b\u5efaWeb\u670d\u52a1<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u4f7f\u7528Flask\u6765\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684Web\u670d\u52a1\uff0cPython\u811a\u672c\u53ef\u4ee5\u901a\u8fc7HTTP\u8bf7\u6c42\u8fdb\u884c\u8c03\u7528\u3002\u9996\u5148\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><p>\u7136\u540e\u521b\u5efa\u4e00\u4e2aFlask\u5e94\u7528\uff0c\u4f8b\u5982<code>app.py<\/code>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from flask import Flask, request, jsonify<\/p>\n<p>app = Flask(__name__)<\/p>\n<p>@app.route(&#39;\/compute&#39;, methods=[&#39;POST&#39;])<\/p>\n<p>def compute():<\/p>\n<p>    data = request.get_json()<\/p>\n<p>    numbers = data.get(&quot;numbers&quot;, [])<\/p>\n<p>    result = sum(numbers)<\/p>\n<p>    return jsonify({&quot;result&quot;: result})<\/p>\n<p>if __name__ == &quot;__main__&quot;:<\/p>\n<p>    app.run(host=&#39;0.0.0.0&#39;, port=5000)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u5728JSP\u4e2d\u8c03\u7528Web\u670d\u52a1<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528Java\u7684HttpURLConnection\u7c7b\u6765\u53d1\u9001HTTP\u8bf7\u6c42\u8c03\u7528Python\u7684Flask\u670d\u52a1\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-jsp\">&lt;%@ page import=&quot;java.io.*&quot; %&gt;<\/p>\n<p>&lt;%@ page import=&quot;java.net.*&quot; %&gt;<\/p>\n<p>&lt;%@ page import=&quot;org.json.JSONObject&quot; %&gt;<\/p>\n<p>&lt;html&gt;<\/p>\n<p>&lt;head&gt;&lt;title&gt;JSP\u901a\u8fc7Web\u670d\u52a1\u8c03\u7528Python\u811a\u672c&lt;\/title&gt;&lt;\/head&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>&lt;%<\/p>\n<p>    try {<\/p>\n<p>        \/\/ \u521b\u5efaURL\u5bf9\u8c61<\/p>\n<p>        URL url = new URL(&quot;http:\/\/localhost:5000\/compute&quot;);<\/p>\n<p>        \/\/ \u5efa\u7acbHTTP\u8fde\u63a5<\/p>\n<p>        HttpURLConnection connection = (HttpURLConnection) url.openConnection();<\/p>\n<p>        connection.setRequestMethod(&quot;POST&quot;);<\/p>\n<p>        connection.setRequestProperty(&quot;Content-Type&quot;, &quot;application\/json; utf-8&quot;);<\/p>\n<p>        connection.setRequestProperty(&quot;Accept&quot;, &quot;application\/json&quot;);<\/p>\n<p>        connection.setDoOutput(true);<\/p>\n<p>        \/\/ \u51c6\u5907JSON\u6570\u636e<\/p>\n<p>        JSONObject json = new JSONObject();<\/p>\n<p>        json.put(&quot;numbers&quot;, new int[]{1, 2, 3});<\/p>\n<p>        \/\/ \u53d1\u9001\u8bf7\u6c42<\/p>\n<p>        try (OutputStream os = connection.getOutputStream()) {<\/p>\n<p>            byte[] input = json.toString().getBytes(&quot;utf-8&quot;);<\/p>\n<p>            os.write(input, 0, input.length);<\/p>\n<p>        }<\/p>\n<p>        \/\/ \u8bfb\u53d6\u54cd\u5e94<\/p>\n<p>        try (BufferedReader br = new BufferedReader(<\/p>\n<p>            new InputStreamReader(connection.getInputStream(), &quot;utf-8&quot;))) {<\/p>\n<p>            StringBuilder response = new StringBuilder();<\/p>\n<p>            String responseLine;<\/p>\n<p>            while ((responseLine = br.readLine()) != null) {<\/p>\n<p>                response.append(responseLine.trim());<\/p>\n<p>            }<\/p>\n<p>            out.println(&quot;Python\u811a\u672c\u8ba1\u7b97\u7ed3\u679c: &quot; + response.toString());<\/p>\n<p>        }<\/p>\n<p>    } catch (Exception e) {<\/p>\n<p>        e.printStackTrace();<\/p>\n<p>        out.println(&quot;\u901a\u8fc7Web\u670d\u52a1\u8c03\u7528Python\u811a\u672c\u65f6\u51fa\u9519: &quot; + e.getMessage());<\/p>\n<p>    }<\/p>\n<p>%&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528Jython\u76f4\u63a5\u5728JSP\u4e2d\u8fd0\u884cPython\u4ee3\u7801<\/h3>\n<\/p>\n<p><h4>1. \u5b89\u88c5Jython<\/h4>\n<\/p>\n<p><p>Jython\u662fPython\u7684Java\u5b9e\u73b0\uff0c\u5141\u8bb8\u5728Java\u73af\u5883\u4e2d\u76f4\u63a5\u8fd0\u884cPython\u4ee3\u7801\u3002\u9996\u5148\u4e0b\u8f7d\u5e76\u5b89\u88c5Jython\u3002<\/p>\n<\/p>\n<p><h4>2. \u5728JSP\u4e2d\u8fd0\u884cPython\u4ee3\u7801<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528Jython\u7684\u65b9\u5f0f\u76f8\u5bf9\u7b80\u5355\uff0c\u4f46\u4e0d\u652f\u6301\u6240\u6709Python\u5e93\uff0c\u5c24\u5176\u662f\u90a3\u4e9b\u4f9d\u8d56\u4e8eC\u8bed\u8a00\u6269\u5c55\u7684\u5e93\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-jsp\">&lt;%@ page import=&quot;org.python.util.PythonInterpreter&quot; %&gt;<\/p>\n<p>&lt;%@ page import=&quot;org.python.core.*&quot; %&gt;<\/p>\n<p>&lt;html&gt;<\/p>\n<p>&lt;head&gt;&lt;title&gt;\u4f7f\u7528Jython\u5728JSP\u4e2d\u8fd0\u884cPython\u4ee3\u7801&lt;\/title&gt;&lt;\/head&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>&lt;%<\/p>\n<p>    PythonInterpreter interpreter = new PythonInterpreter();<\/p>\n<p>    interpreter.exec(&quot;x = 10 + 5&quot;);<\/p>\n<p>    interpreter.exec(&quot;print(&#39;\u8ba1\u7b97\u7ed3\u679c:&#39;, x)&quot;);<\/p>\n<p>    \/\/ \u83b7\u53d6Python\u53d8\u91cf<\/p>\n<p>    PyObject x = interpreter.get(&quot;x&quot;);<\/p>\n<p>    out.println(&quot;Python\u8ba1\u7b97\u7ed3\u679c: &quot; + x.toString());<\/p>\n<p>%&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728JSP\u4e2d\u8c03\u7528Python\u811a\u672c\u6709\u591a\u79cd\u5b9e\u73b0\u65b9\u5f0f\uff0c\u5176\u4e2d<strong>\u4f7f\u7528Java\u7684ProcessBuilder\u7c7b\u662f\u6700\u76f4\u63a5\u7684\u65b9\u6cd5<\/strong>\uff0c\u9002\u5408\u7b80\u5355\u7684\u811a\u672c\u8c03\u7528\u548c\u672c\u5730\u6267\u884c\u3002<strong>\u901a\u8fc7Web\u670d\u52a1\u7684\u65b9\u5f0f\u5219\u63d0\u4f9b\u4e86\u66f4\u9ad8\u7684\u7075\u6d3b\u6027\u548c\u6269\u5c55\u6027<\/strong>\uff0c\u9002\u5408\u4e8e\u9700\u8981\u4e0ePython\u8fdb\u884c\u590d\u6742\u4ea4\u4e92\u7684\u573a\u666f\u3002<strong>Jython\u5219\u9002\u5408\u4e8e\u9700\u8981\u5728Java\u73af\u5883\u4e2d\u76f4\u63a5\u8fd0\u884cPython\u4ee3\u7801<\/strong>\uff0c\u4f46\u9700\u6ce8\u610f\u5176\u5bf9Python\u5e93\u7684\u652f\u6301\u9650\u5236\u3002\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u53d6\u51b3\u4e8e\u5177\u4f53\u7684\u5e94\u7528\u9700\u6c42\u548c\u73af\u5883\u914d\u7f6e\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728JSP\u4e2d\u6267\u884cPython\u811a\u672c\uff1f<\/strong><br \/>\u5728JSP\u4e2d\u6267\u884cPython\u811a\u672c\u901a\u5e38\u9700\u8981\u901a\u8fc7Java Runtime\u7c7b\u6765\u5b9e\u73b0\u3002\u53ef\u4ee5\u4f7f\u7528<code>Runtime.getRuntime().exec()<\/code>\u65b9\u6cd5\u6765\u8c03\u7528Python\u89e3\u91ca\u5668\uff0c\u5e76\u4f20\u9012\u811a\u672c\u7684\u8def\u5f84\u548c\u53c2\u6570\u3002\u786e\u4fdd\u5728\u670d\u52a1\u5668\u4e0a\u5df2\u7ecf\u5b89\u88c5\u4e86Python\u73af\u5883\uff0c\u5e76\u4e14\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u8bbf\u95ee\u3002<\/p>\n<p><strong>\u5728JSP\u4e2d\u8c03\u7528Python\u811a\u672c\u4f1a\u5bf9\u6027\u80fd\u4ea7\u751f\u5f71\u54cd\u5417\uff1f<\/strong><br \/>\u8c03\u7528Python\u811a\u672c\u53ef\u80fd\u4f1a\u5bf9\u6027\u80fd\u4ea7\u751f\u4e00\u5b9a\u5f71\u54cd\uff0c\u7279\u522b\u662f\u5f53\u811a\u672c\u6267\u884c\u65f6\u95f4\u8f83\u957f\u6216\u8005\u9700\u8981\u9891\u7e41\u8c03\u7528\u65f6\u3002\u4e3a\u4e86\u4f18\u5316\u6027\u80fd\uff0c\u53ef\u4ee5\u8003\u8651\u5c06Python\u811a\u672c\u7684\u8f93\u51fa\u7ed3\u679c\u7f13\u5b58\uff0c\u6216\u4f7f\u7528\u5f02\u6b65\u5904\u7406\u6765\u51cf\u5c11\u5bf9JSP\u9875\u9762\u54cd\u5e94\u65f6\u95f4\u7684\u5f71\u54cd\u3002<\/p>\n<p><strong>\u5982\u4f55\u5904\u7406JSP\u4e2d\u8c03\u7528Python\u811a\u672c\u540e\u7684\u8f93\u51fa\u7ed3\u679c\uff1f<\/strong><br \/>\u5728JSP\u4e2d\u8c03\u7528Python\u811a\u672c\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u8f93\u5165\u6d41\u8bfb\u53d6Python\u811a\u672c\u7684\u8f93\u51fa\u7ed3\u679c\u3002\u4f7f\u7528<code>Process.getInputStream()<\/code>\u65b9\u6cd5\u83b7\u53d6\u8f93\u51fa\u6d41\uff0c\u7136\u540e\u4f7f\u7528BufferedReader\u8bfb\u53d6\u5185\u5bb9\u3002\u786e\u4fdd\u5bf9\u8f93\u51fa\u8fdb\u884c\u9002\u5f53\u7684\u5904\u7406\uff0c\u4ee5\u4fbf\u5728JSP\u9875\u9762\u4e0a\u6b63\u786e\u663e\u793a\u7ed3\u679c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728JSP\u4e2d\u8c03\u7528Python\u811a\u672c\u7684\u65b9\u6cd5\u5305\u62ec\u901a\u8fc7\u547d\u4ee4\u884c\u8c03\u7528\u3001\u4f7f\u7528Java ProcessBuilder\u3001\u4f7f\u7528Jyt [&hellip;]","protected":false},"author":3,"featured_media":956318,"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\/956314"}],"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=956314"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/956314\/revisions"}],"predecessor-version":[{"id":956322,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/956314\/revisions\/956322"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/956318"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=956314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=956314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=956314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}