{"id":29660,"date":"2024-11-25T15:05:04","date_gmt":"2024-11-25T07:05:04","guid":{"rendered":"https:\/\/fwq.ai\/blog\/29660\/"},"modified":"2024-11-25T15:05:04","modified_gmt":"2024-11-25T07:05:04","slug":"java%e5%be%ae%e4%bf%a1%e5%bc%80%e5%8f%91%e6%80%bb%e7%bb%93%e7%9a%84%e5%9b%be%e6%96%87%e4%bb%a3%e7%a0%81%e5%88%86%e4%ba%ab","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/29660\/","title":{"rendered":"JAVA\u5fae\u4fe1\u5f00\u53d1\u603b\u7ed3\u7684\u56fe\u6587\u4ee3\u7801\u5206\u4eab"},"content":{"rendered":"<p>\u6700\u8fd1\u7814\u7a76\u4e86\u4e00\u4e0b\u5fae\u4fe1\uff0c\u611f\u89c9\u4e0d\u662f\u5f88\u96be\uff0c\u501f\u9274\u4e86marker(www.yl-blog.com)\u7684\u5f00\u6e90\u4ee3\u7801\uff0c\u4fee\u6539\u4e86\u51e0\u5904\u5c0fbug\uff08\u5728\u4f5c\u8005\u7684\u5f00\u6e90\u7f51\u7ad9\u4e0a\u7559\u4e86\u8a00\uff0c\u8be6\u89c1\u5176\u5f00\u6e90\u7f51\u7ad9\uff09\uff0c\u5f88\u5feb\u5c31\u5b9e\u73b0\u5173\u952e\u7684\u903b\u8f91\uff1a&nbsp;<br \/>\u3000\u30001\u3001\u5f00\u53d1\u8005\u9a8c\u8bc1&nbsp;<br \/>\u3000\u30002\u3001\u901a\u8fc7\u7a0b\u5e8f\u63a5\u53e3\u81ea\u5b9a\u4e49\u83dc\u5355&nbsp;<br \/>\u3000\u30003\u3001\u7528\u6237\u5173\u6ce8\u540e\uff0c\u53d1\u9001\u6b22\u8fce\u6d88\u606f&nbsp;<br \/>\u3000\u30004\u3001\u6839\u636e\u7528\u6237\u8f93\u5165\u4e3a\u5176\u9009\u62e9\u611f\u5174\u8da3\u7684\u8bdd\u9898&nbsp;<br \/>\u3000\u30005\u3001\u53d1\u9001\u6587\u4ef6\u6d88\u606f\u3001\u53d1\u9001\u56fe\u6587\u6d88\u606f&nbsp;<br \/>\u3000\u30006\u3001\u4f7f\u7528\u9759\u6001\u7f51\u9875\u6a21\u62df\u4e86\u5fae\u4fe1\u7f51\u7ad9\u7684\u7b80\u5355\u6a21\u677f&nbsp;<\/p>\n<p>\u3000\u3000\u516c\u4f17\u53f7\uff0cdaydayup_it\uff0c\u6b63\u5728\u7d27\u5f20\u7684\u7b56\u5212\u5f00\u53d1\u4e2d\uff0c\u8fd1\u671f\u4e0a\u7ebf\uff0c\u8ba1\u5212\u4e3b\u8981\u63d0\u4f9b\u4e00\u4e9b\u4f18\u8d28\u7684\u6559\u80b2\u8d44\u6e90\uff0c\u656c\u8bf7\u5927\u5bb6\u5173\u6ce8\u3002&nbsp;<\/p>\n<p>\u3000\u3000\u51c6\u5907\u6709\u7a7a\u628a\u5173\u952e\u6280\u672f\u6574\u7406\u4e00\u4e0b\uff0c\u8d34\u51fa\u6765\u8ddf\u5927\u5bb6\u4ea4\u6d41\u3002&nbsp;<\/p>\n<p>\u3000\u3000\u4e00\u3001\u5f00\u53d1\u8005\u9a8c\u8bc1\uff0c\u5176\u5b9e\u4e3b\u8981\u662f\u5199\u4e2aservlet\uff0c\u6709\u70b9web\u5f00\u53d1\u7ecf\u9a8c\u5c31\u5f88\u5bb9\u6613\u641e\u5b9a&nbsp;<\/p>\n<pre>package&nbsp;org.marker.weixin.test;\r\n\r\nimport&nbsp;java.io.IOException;\r\nimport&nbsp;java.io.InputStream;\r\nimport&nbsp;java.io.OutputStream;\r\nimport&nbsp;java.io.Writer;\r\nimport&nbsp;java.util.ArrayList;\r\nimport&nbsp;java.util.Collections;\r\nimport&nbsp;java.util.Date;\r\nimport&nbsp;java.util.List;\r\n\r\nimport&nbsp;javax.servlet.ServletException;\r\nimport&nbsp;javax.servlet.http.HttpServlet;\r\nimport&nbsp;javax.servlet.http.HttpServletRequest;\r\nimport&nbsp;javax.servlet.http.HttpServletResponse;\r\n\r\nimport&nbsp;org.apache.commons.logging.Log;\r\nimport&nbsp;org.apache.commons.logging.LogFactory;\r\n\r\n\/**\r\n&nbsp;*&nbsp;\u5904\u7406\u5fae\u4fe1\u670d\u52a1\u5668\u8bf7\u6c42\u7684Servlet&nbsp;URL\u5730\u5740\uff1ahttp:\/\/xxx\/weixin\/dealwith.do\r\n&nbsp;*&nbsp;\r\n&nbsp;*&nbsp;@author&nbsp;marker\r\n&nbsp;*&nbsp;@blog&nbsp;www.yl-blog.com\r\n&nbsp;*&nbsp;@weibo&nbsp;http:\/\/t.qq.com\/wuweiit\r\n&nbsp;*\/\r\npublic&nbsp;class&nbsp;WinXinServlet&nbsp;extends&nbsp;HttpServlet&nbsp;{\r\n\tprivate&nbsp;static&nbsp;final&nbsp;long&nbsp;serialVersionUID&nbsp;=&nbsp;1L;\r\n\tprivate&nbsp;static&nbsp;Log&nbsp;log&nbsp;=&nbsp;LogFactory.getLog(WinXinServlet.class);\r\n\r\n\t\/\/&nbsp;TOKEN&nbsp;\u662f\u4f60\u5728\u5fae\u4fe1\u5e73\u53f0\u5f00\u53d1\u6a21\u5f0f\u4e2d\u8bbe\u7f6e\u7684\u5b57\u7b26\u4e32\r\n\tpublic&nbsp;static&nbsp;final&nbsp;String&nbsp;TOKEN&nbsp;=&nbsp;\"YourToken\";\r\n\r\n\t\/**\r\n\t&nbsp;*&nbsp;\u5904\u7406\u5fae\u4fe1\u670d\u52a1\u5668\u9a8c\u8bc1\r\n\t&nbsp;*&nbsp;http:\/\/wallimn.iteye.com,&nbsp;2014-09-11\r\n\t&nbsp;*\/\r\n\tprotected&nbsp;void&nbsp;doGet(HttpServletRequest&nbsp;request,\r\n\t\t\tHttpServletResponse&nbsp;response)&nbsp;throws&nbsp;ServletException,&nbsp;IOException&nbsp;{\r\n\t\tString&nbsp;signature&nbsp;=&nbsp;request.getParameter(\"signature\");\/\/&nbsp;\u5fae\u4fe1\u52a0\u5bc6\u7b7e\u540d\r\n\t\tString&nbsp;timestamp&nbsp;=&nbsp;request.getParameter(\"timestamp\");\/\/&nbsp;\u65f6\u95f4\u6233\r\n\t\tString&nbsp;nonce&nbsp;=&nbsp;request.getParameter(\"nonce\");\/\/&nbsp;\u968f\u673a\u6570\r\n\t\tString&nbsp;echostr&nbsp;=&nbsp;request.getParameter(\"echostr\");\/\/&nbsp;\u968f\u673a\u5b57\u7b26\u4e32\r\n\t\tWriter&nbsp;out&nbsp;=&nbsp;response.getWriter();\r\n\t\tSystem.out.println(\"\u6536\u5230\u9a8c\u8bc1\u8bf7\u6c42\uff1a\");\r\n\t\tSystem.out.println(\"\u3000\u3000signature=\"+signature);\r\n\t\tSystem.out.println(\"\u3000\u3000timestamp=\"+timestamp);\r\n\t\tSystem.out.println(\"\u3000\u3000nonce=\"+nonce);\r\n\t\tSystem.out.println(\"\u3000\u3000echostr=\"+echostr);\r\n\t\tif(signature==null&nbsp;||&nbsp;timestamp==null&nbsp;||&nbsp;nonce==null&nbsp;||&nbsp;echostr==null){\r\n\t\t\t\/\/\u8fd9\u51e0\u4e2a\u53c2\u6570\u4e3a\u7a7a\u65f6\uff0c\u6392\u5e8f\u4f1a\u62a5\u9519\u3002\r\n\t\t\tout.write(\"parameter&nbsp;is&nbsp;null!\");\r\n\t\t}\r\n\t\telse{\r\n\t\t\t\/\/&nbsp;\u91cd\u5199totring\u65b9\u6cd5\uff0c\u5f97\u5230\u4e09\u4e2a\u53c2\u6570\u7684\u62fc\u63a5\u5b57\u7b26\u4e32\r\n\t\t\tList&lt;string&gt;&nbsp;list&nbsp;=&nbsp;new&nbsp;ArrayList&lt;string&gt;(3)&nbsp;{\r\n\t\t\t\tprivate&nbsp;static&nbsp;final&nbsp;long&nbsp;serialVersionUID&nbsp;=&nbsp;2621444383666420433L;\r\n\t\t\t\tpublic&nbsp;String&nbsp;toString()&nbsp;{\r\n\t\t\t\t\treturn&nbsp;this.get(0)&nbsp;+&nbsp;this.get(1)&nbsp;+&nbsp;this.get(2);\r\n\t\t\t\t}\r\n\t\t\t};\r\n\t\t\tlist.add(TOKEN);\r\n\t\t\tlist.add(timestamp);\r\n\t\t\tlist.add(nonce);\r\n\t\t\tCollections.sort(list);\/\/&nbsp;\u6392\u5e8f\r\n\t\t\tString&nbsp;tmpStr&nbsp;=&nbsp;new&nbsp;MySecurity().encode(list.toString(),\r\n\t\t\t\t\tMySecurity.SHA_1);\/\/&nbsp;SHA-1\u52a0\u5bc6\r\n\t\t\tif&nbsp;(signature.equals(tmpStr))&nbsp;{\r\n\t\t\t\tout.write(echostr);\/\/&nbsp;\u8bf7\u6c42\u9a8c\u8bc1\u6210\u529f\uff0c\u8fd4\u56de\u968f\u673a\u7801\r\n\t\t\t}&nbsp;else&nbsp;{\r\n\t\t\t\tout.write(\"check&nbsp;error!\");\r\n\t\t\t}\r\n\t\t}\r\n\t\tout.flush();\r\n\t\tout.close();\r\n\t}\r\n\r\n\t\r\n\t\/**\r\n\t&nbsp;*&nbsp;\u5904\u7406\u5fae\u4fe1\u670d\u52a1\u5668\u53d1\u8fc7\u6765\u7684\u5404\u79cd\u6d88\u606f\uff0c\u5305\u62ec\uff1a\u6587\u672c\u3001\u56fe\u7247\u3001\u5730\u7406\u4f4d\u7f6e\u3001\u97f3\u4e50\u7b49\u7b49\r\n\t&nbsp;*&nbsp;http:\/\/wallimn.iteye.com,&nbsp;2014-09-11\r\n\t&nbsp;*\/\r\n\tprotected&nbsp;void&nbsp;doPost(HttpServletRequest&nbsp;request,\r\n\t\t\tHttpServletResponse&nbsp;response)&nbsp;throws&nbsp;ServletException,&nbsp;IOException&nbsp;{\r\n\t\tlog.info(\"\u6536\u5230POST\u8bf7\u6c42\uff1a\"+(new&nbsp;Date()));\r\n\t\trequest.setCharacterEncoding(\"utf-8\");\r\n\t\tresponse.setContentType(\"text\/html;&nbsp;charset=utf-8\");\r\n\t\tInputStream&nbsp;is&nbsp;=&nbsp;request.getInputStream();\r\n\t\tOutputStream&nbsp;os&nbsp;=&nbsp;response.getOutputStream();\r\n\t\t\/\/TODO:\u5199\u5fae\u4fe1\u5e73\u53f0\u63a8\u9001\u8fc7\u6765\u7684\u5404\u79cd\u4fe1\u606f\u7684\u5904\u7406\u903b\u8f91\r\n\t}\r\n}&lt;\/string&gt;&lt;\/string&gt;<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u3000\u3000\u4e8c\u3001\u5fae\u4fe1\u7f51\u7ad9\u7684\u6d4b\u8bd5\u4e3b\u9875\u6548\u679c\u53ca\u4ee3\u7801\uff0c\u501f\u52a9bootstrap\uff0c\u652f\u6301\u5a92\u4f53\u67e5\u8be2\uff0c\u5f53\u624b\u673a\u6c34\u5e73\u770b\u65f6\uff0c\u680f\u76ee\u4f1a\u53d8\u62102*2\u5e03\u5c40\uff0cindex.jsp\uff0c\u9700\u8981JSTL\u7684\u652f\u6301\uff0c\u4e5f\u53ef\u4ee5\u81ea\u884c\u53bb\u6389\uff0c\u4e0d\u5f71\u54cd\u6548\u679c\uff0c\u6ce8\u610f\u8fde\u63a5\u6587\u4ef6\u7684\u8def\u5f84\u5373\u53ef&nbsp;<\/p>\n<p><span style=\"font-family: Helvetica, Tahoma, Arial, sans-serif\"><img decoding=\"async\" src=\"https:\/\/img.php.cn\/\/upload\/image\/557\/809\/473\/1492221241263015.png\" class=\"aligncenter\" title=\"JAVA\u5fae\u4fe1\u5f00\u53d1\u603b\u7ed3\u7684\u56fe\u6587\u4ee3\u7801\u5206\u4eab\u63d2\u56fe\" alt=\"JAVA\u5fae\u4fe1\u5f00\u53d1\u603b\u7ed3\u7684\u56fe\u6587\u4ee3\u7801\u5206\u4eab\u63d2\u56fe\" \/><\/span><\/p>\n<p><span style=\"font-family: Helvetica, Tahoma, Arial, sans-serif\"><img decoding=\"async\" src=\"https:\/\/img.php.cn\/\/upload\/image\/374\/128\/976\/1492221253488939.png\" class=\"aligncenter\" title=\"JAVA\u5fae\u4fe1\u5f00\u53d1\u603b\u7ed3\u7684\u56fe\u6587\u4ee3\u7801\u5206\u4eab\u63d2\u56fe1\" alt=\"JAVA\u5fae\u4fe1\u5f00\u53d1\u603b\u7ed3\u7684\u56fe\u6587\u4ee3\u7801\u5206\u4eab\u63d2\u56fe1\" \/><\/span><\/p>\n<p><span style=\"font-family: Helvetica, Tahoma, Arial, sans-serif\"><br \/><\/span><\/p>\n<p><span>\u7acb\u5373\u5b66\u4e60<\/span>\u201c\u201d\uff1b<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662fJAVA\u5fae\u4fe1\u5f00\u53d1\u603b\u7ed3\u7684\u56fe\u6587\u4ee3\u7801\u5206\u4eab\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>\u6700\u8fd1\u7814\u7a76\u4e86\u4e00\u4e0b\u5fae\u4fe1\uff0c\u611f\u89c9\u4e0d\u662f\u5f88\u96be\uff0c\u501f\u9274\u4e86marker(www.yl-blog.com)\u7684\u5f00\u6e90\u4ee3\u7801\uff0c\u4fee\u6539\u4e86\u51e0\u5904\u5c0fbug\uff08\u5728\u4f5c\u8005\u7684\u5f00\u6e90\u7f51\u7ad9\u4e0a\u7559\u4e86\u8a00\uff0c\u8be6\u89c1\u5176\u5f00\u6e90\u7f51\u7ad9\uff09\uff0c\u5f88\u5feb\u5c31\u5b9e\u73b0\u5173\u952e\u7684\u903b\u8f91\uff1a&nbsp;\u3000\u30001\u3001\u5f00\u53d1\u8005\u9a8c\u8bc1&nbsp;\u3000\u30002\u3001\u901a\u8fc7\u7a0b\u5e8f\u63a5\u53e3\u81ea\u5b9a\u4e49\u83dc\u5355&nbsp;\u3000\u30003\u3001\u7528\u6237\u5173\u6ce8\u540e\uff0c\u53d1\u9001\u6b22\u8fce\u6d88\u606f&nbsp;\u3000\u30004\u3001\u6839\u636e\u7528\u6237\u8f93\u5165\u4e3a\u5176\u9009\u62e9\u611f\u5174\u8da3\u7684\u8bdd\u9898&nbsp;\u3000\u30005\u3001\u53d1\u9001\u6587\u4ef6\u6d88\u606f\u3001\u53d1\u9001\u56fe\u6587\u6d88\u606f&nbsp;\u3000\u30006\u3001\u4f7f\u7528\u9759\u6001\u7f51\u9875\u6a21\u62df\u4e86\u5fae\u4fe1\u7f51\u7ad9\u7684\u7b80\u5355\u6a21\u677f&nbsp; \u3000\u3000\u516c\u4f17\u53f7\uff0cdaydayup_it\uff0c\u6b63\u5728\u7d27\u5f20\u7684\u7b56\u5212\u5f00\u53d1\u4e2d\uff0c\u8fd1\u671f\u4e0a\u7ebf\uff0c\u8ba1\u5212\u4e3b\u8981\u63d0\u4f9b\u4e00\u4e9b\u4f18\u8d28\u7684\u6559\u80b2\u8d44\u6e90\uff0c\u656c\u8bf7\u5927\u5bb6\u5173\u6ce8\u3002&nbsp; \u3000\u3000\u51c6\u5907\u6709\u7a7a\u628a\u5173\u952e\u6280\u672f\u6574\u7406\u4e00\u4e0b\uff0c\u8d34\u51fa\u6765\u8ddf\u5927\u5bb6\u4ea4\u6d41\u3002&nbsp; \u3000\u3000\u4e00\u3001\u5f00\u53d1\u8005\u9a8c\u8bc1\uff0c\u5176\u5b9e\u4e3b\u8981\u662f\u5199\u4e2aservlet\uff0c\u6709\u70b9web\u5f00\u53d1\u7ecf\u9a8c\u5c31\u5f88\u5bb9\u6613\u641e\u5b9a&nbsp; package&nbsp;org.marker.weixin.test; import&nbsp;java.io.IOException; import&nbsp;java.io.InputStream; import&nbsp;java.io.OutputStream; import&nbsp;java.io.Writer; import&nbsp;java.util.ArrayList; import&nbsp;java.util.Collections; import&nbsp;java.util.Date; import&nbsp;java.util.List; import&nbsp;javax.servlet.ServletException; import&nbsp;javax.servlet.http.HttpServlet; import&nbsp;javax.servlet.http.HttpServletRequest; import&nbsp;javax.servlet.http.HttpServletResponse; import&nbsp;org.apache.commons.logging.Log; import&nbsp;org.apache.commons.logging.LogFactory; \/** &nbsp;*&nbsp;\u5904\u7406\u5fae\u4fe1\u670d\u52a1\u5668\u8bf7\u6c42\u7684Servlet&nbsp;URL\u5730\u5740\uff1ahttp:\/\/xxx\/weixin\/dealwith.do &nbsp;*&nbsp; &nbsp;*&nbsp;@author&nbsp;marker &nbsp;*&nbsp;@blog&nbsp;www.yl-blog.com &nbsp;*&nbsp;@weibo&nbsp;http:\/\/t.qq.com\/wuweiit &nbsp;*\/ public&nbsp;class&nbsp;WinXinServlet&nbsp;extends&nbsp;HttpServlet&nbsp;{ private&nbsp;static&nbsp;final&nbsp;long&nbsp;serialVersionUID&nbsp;=&nbsp;1L; private&nbsp;static&nbsp;Log&nbsp;log&nbsp;=&nbsp;LogFactory.getLog(WinXinServlet.class); \/\/&nbsp;TOKEN&nbsp;\u662f\u4f60\u5728\u5fae\u4fe1\u5e73\u53f0\u5f00\u53d1\u6a21\u5f0f\u4e2d\u8bbe\u7f6e\u7684\u5b57\u7b26\u4e32 public&nbsp;static&nbsp;final&nbsp;String&nbsp;TOKEN&nbsp;=&nbsp;&#8220;YourToken&#8221;; \/** &nbsp;*&nbsp;\u5904\u7406\u5fae\u4fe1\u670d\u52a1\u5668\u9a8c\u8bc1 &nbsp;*&nbsp;http:\/\/wallimn.iteye.com,&nbsp;2014-09-11 &nbsp;*\/ protected&nbsp;void&nbsp;doGet(HttpServletRequest&nbsp;request, HttpServletResponse&nbsp;response)&nbsp;throws&nbsp;ServletException,&nbsp;IOException&nbsp;{ String&nbsp;signature&nbsp;=&nbsp;request.getParameter(&#8220;signature&#8221;);\/\/&nbsp;\u5fae\u4fe1\u52a0\u5bc6\u7b7e\u540d String&nbsp;timestamp&nbsp;=&nbsp;request.getParameter(&#8220;timestamp&#8221;);\/\/&nbsp;\u65f6\u95f4\u6233 String&nbsp;nonce&nbsp;=&nbsp;request.getParameter(&#8220;nonce&#8221;);\/\/&nbsp;\u968f\u673a\u6570 String&nbsp;echostr&nbsp;=&nbsp;request.getParameter(&#8220;echostr&#8221;);\/\/&nbsp;\u968f\u673a\u5b57\u7b26\u4e32 Writer&nbsp;out&nbsp;=&nbsp;response.getWriter(); System.out.println(&#8220;\u6536\u5230\u9a8c\u8bc1\u8bf7\u6c42\uff1a&#8221;); System.out.println(&#8220;\u3000\u3000signature=&#8221;+signature); System.out.println(&#8220;\u3000\u3000timestamp=&#8221;+timestamp); System.out.println(&#8220;\u3000\u3000nonce=&#8221;+nonce); System.out.println(&#8220;\u3000\u3000echostr=&#8221;+echostr); if(signature==null&nbsp;||&nbsp;timestamp==null&nbsp;||&nbsp;nonce==null&nbsp;||&nbsp;echostr==null){ \/\/\u8fd9\u51e0\u4e2a\u53c2\u6570\u4e3a\u7a7a\u65f6\uff0c\u6392\u5e8f\u4f1a\u62a5\u9519\u3002 out.write(&#8220;parameter&nbsp;is&nbsp;null!&#8221;); } else{ \/\/&nbsp;\u91cd\u5199totring\u65b9\u6cd5\uff0c\u5f97\u5230\u4e09\u4e2a\u53c2\u6570\u7684\u62fc\u63a5\u5b57\u7b26\u4e32 List&lt;string&gt;&nbsp;list&nbsp;=&nbsp;new&nbsp;ArrayList&lt;string&gt;(3)&nbsp;{ private&nbsp;static&nbsp;final&nbsp;long&nbsp;serialVersionUID&nbsp;=&nbsp;2621444383666420433L; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-29660","post","type-post","status-publish","format-standard","hentry","category-19"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/29660","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=29660"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/29660\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=29660"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=29660"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=29660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}