{"id":996,"date":"2023-01-18T11:57:52","date_gmt":"2023-01-18T02:57:52","guid":{"rendered":"http:\/\/attacktube.com\/?p=996"},"modified":"2023-05-31T14:57:12","modified_gmt":"2023-05-31T05:57:12","slug":"jquery-ajax%e3%81%ae%e6%88%bb%e3%82%8a%e5%80%a4","status":"publish","type":"post","link":"https:\/\/attacktube.com\/?p=996","title":{"rendered":"jQuery.ajax()"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><strong>jQuery.ajax()\u306e\u623b\u308a\u5024<\/strong><\/h2>\n\n\n\n<p>jQuery.ajax()\u306e\u623b\u308a\u5024\u306fjqXHR\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3042\u308b\u3002<br>jqXHR\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u5bfe\u3057\u3066done\u30e1\u30bd\u30c3\u30c9\u3068fail\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3066<br>\u30b5\u30fc\u30d0\u304c\u8fd4\u3059\u30c7\u30fc\u30bf\u7b49\u3092\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<br>done()\u30e1\u30bd\u30c3\u30c9\u306e\u5f15\u6570\u306f\u6210\u529f\u6642\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u3067\u3042\u308a\u3001\u901a\u5e38\u306f\u30c7\u30fc\u30bf\u304c\u6e21\u3055\u308c\u308b\u3002<br>\u4e00\u65b9\u3001fail()\u30e1\u30bd\u30c3\u30c9\u306e\u5f15\u6570\u306f\u5931\u6557\u6642\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u3067\u3042\u308a\u3001\u901a\u5e38\u306f\u30a8\u30e9\u30fc\u60c5\u5831\u304c\u6e21\u3055\u308c\u308b\u3002<br>jQuery.ajax([settings])\u306esettings\u306fAjax\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002\u3053\u306esetting\u306f\u7701\u7565\u53ef\u80fd\u306a\u8a2d\u5b9a\u9805\u76ee\u3067\u3042\u308b\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<br>\n<script async=\"\" src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-3461056110605997\" crossorigin=\"anonymous\"><\/script>\n<ins class=\"adsbygoogle\" style=\"display:block; text-align:center;\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\" data-ad-client=\"ca-pub-3461056110605997\" data-ad-slot=\"3137443461\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n<br>\n\n\n\n<p><strong>jqXHR.done()<\/strong><br>jqXHR.done(function(data, textStatus, jqXHR) {});\u306f\u300cAn alternative construct to the success callback option\u300d(success callback option\u306e\u4ee3\u66ff\u69cb\u6210)\u3068jQuery\u516c\u5f0fweb\u30b5\u30a4\u30c8\u306b\u8f09\u3063\u3066\u3044\u308b\u3002<br>\u3064\u307e\u308a\u3001jqXHR.done(function( data, textStatus, jqXHR){});\u306fsettings\u306e\u8a2d\u5b9a\u9805\u76eesuccess\u3068\u540c\u3058\u304fAjax\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u6210\u529f\u6642\u306e\u51e6\u7406\u3092\u66f8\u304f\u3053\u3068\u3067\u304d\u308b\u3002<br>settings\u306e\u8a2d\u5b9a\u9805\u76eesuccess\u306b\u8a2d\u5b9a\u3059\u308b\u95a2\u6570\u306e\u5f15\u6570(data, textStatus, jqXHR)\u3068jqXHR.done(function(data, textStatus, jqXHR){});\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u306e\u5f15\u6570\u306f\u540c\u3058\u3068\u3044\u3046\u3053\u3068\u3092\u610f\u5473\u3059\u308b\u3002<br><br>success<br>Type: Function(Anything data, String textStatus, jqXHR jqXHR)<br>settings\u306e\u8a2d\u5b9a\u9805\u76eesucceess\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u6210\u529f\u3057\u305f\u5834\u5408\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u95a2\u6570\u3092\u8a2d\u5b9a\u3067\u304d\u308b\u3002<br>\u6b21\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308b\u3002<\/p>\n\n\n\n<pre><code>\n$.ajax({\n  url: &quot;example.com&quot;,\n  success: function(data, textStatus, jqXHR) {\n    \/\/ \u6210\u529f\u6642\u306e\u51e6\u7406\n  }\n})\n<\/code><\/pre>\n\n\n\n<p><strong>jqXHR.fail()<\/strong><br>jqXHR.fail(function( jqXHR, textStatus, errorThrown ) {});\u306f\u300cAn alternative construct to the error callback option\u300d(error callback option\u306e\u4ee3\u66ff\u69cb\u6210)\u3068jQuery\u516c\u5f0fweb\u30b5\u30a4\u30c8\u306b\u8f09\u3063\u3066\u3044\u308b\u3002<br>\u3064\u307e\u308a\u3001jqXHR.fail(function(data, textStatus, jqXHR) {});\u306fsettings\u306e\u8a2d\u5b9a\u9805\u76eeerror\u3068\u540c\u3058\u304fAjax\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u5931\u6557\u6642\u306e\u51e6\u7406\u3092\u66f8\u304f\u3053\u3068\u3067\u304d\u308b\u3002<br>settings\u306e\u8a2d\u5b9a\u9805\u76eeerror\u306b\u8a2d\u5b9a\u3059\u308b\u95a2\u6570\u306e\u5f15\u6570(jqXHR, textStatus, errorThrown)\u3068jqXHR.fail(function( jqXHR, textStatus, errorThrown){});\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u306e\u5f15\u6570\u306f\u540c\u3058\u3068\u3044\u3046\u3053\u3068\u3092\u610f\u5473\u3059\u308b\u3002<\/p>\n\n\n\n<p>error<br>Type: Function( jqXHR jqXHR, String textStatus, String errorThrown)<br>settings\u306e\u8a2d\u5b9a\u9805\u76eeerror\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u5931\u6557\u3057\u305f\u5834\u5408\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u95a2\u6570\u3092\u8a2d\u5b9a\u3067\u304d\u308b\u3002<br>\u6b21\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308b\u3002<\/p>\n\n\n\n<pre><code>\n$.ajax({\n  url: &quot;example.com&quot;,\n  error: function(jqXHR, textStatus, errorThrown) {\n    \/\/ \u5931\u6557\u6642\u306e\u51e6\u7406\n  }\n})\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>jqXHR.done(function(data, textStatus, jqXHR){});<\/strong><br><strong>done\u30e1\u30bd\u30c3\u30c9\u306b\u6e21\u3059\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u306e3\u3064\u306e\u5f15\u6570\u306b\u3064\u3044\u3066<\/strong><\/h2>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">data<\/mark><br>\u30b5\u30fc\u30d0\u304c\u8fd4\u3059\u30c7\u30fc\u30bf(test.txt\u306e\u4e2d\u8eab)\u304c<br>dataTYpe\u306b\u6cbf\u3063\u3066\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3055\u308c\u305f\u5024\u304c\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">textStatus<\/mark><br>\u901a\u4fe1\u7d50\u679c\u304c\u6587\u5b57\u5217\u300csuccess\u300d\u3067\u8fd4\u3063\u3066\u304f\u308b\u3002<\/p>\n\n\n\n<p>\u5099\u8003<br>done\u306f\u6b63\u5e38\u7d42\u4e86\u3057\u305f\u5834\u5408\u306b\u5b9f\u884c\u3055\u308c\u308b\u306e\u3067\u6587\u5b57\u5217\u300csuccess\u300d\u3057\u304b\u8fd4\u3089\u306a\u3044\u306f\u305a\u3002\u79c1\u306f\u300csuccess\u300d\u304c\u51fa\u308b\u6642\u3057\u304b\u78ba\u8a8d\u3057\u3066\u3044\u306a\u3044\u3002<\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">jqXHR<\/mark><br>jqXHR\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>jqXHR.fail(function(jqXHR, textStatus, errorThrown){});<\/strong><br><strong>fail\u30e1\u30bd\u30c3\u30c9\u306b\u6e21\u3059\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u306e3\u3064\u306e\u5f15\u6570\u306b\u3064\u3044\u3066<\/strong><\/h2>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">jqXHR<\/mark><br>jqXHR\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<br><br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">textStatus<\/mark><br>\u901a\u4fe1\u7d50\u679c\u304c\u6587\u5b57\u5217\u300ctimeout\u300d\u3001\u300cerror\u300d\u3001\u300cabort\u300d\u3001\u300cparsererror\u300d\u3067\u8fd4\u3063\u3066\u304f\u308b\u3002<\/p>\n\n\n\n<p>\u5099\u8003<br>jQuery\u516c\u5f0fweb\u30b5\u30a4\u30c8\u306esetting\u306e\u300cerror\u300d\u3092\u898b\u308b\u3068\u300cPossible values for the second argument (besides null) are &#8220;timeout&#8221;, &#8220;error&#8221;, &#8220;abort&#8221;, and &#8220;parsererror&#8221;. \u300a\u7b2c2\u5f15\u6570\u3067\u3068\u308a\u3046\u308b\u5024(NULL\u4ee5\u5916)\u306f\u3001\u300ctimeout\u300d\u3001\u300cerror\u300d\u3001\u300cabort\u300d\u3001\u300cparsererror\u300d\u3067\u3042\u308b\u3002\u300b\u300d<br>\u3068\u3042\u3063\u305f\u304c\u3001\u901a\u4fe1\u7d50\u679c\u304c\u300cnull\u300d\u306e\u5834\u5408\u3082\u3042\u308b\u306e\u304b\uff1f\u79c1\u306f\u6587\u5b57\u5217\u300cerror\u300d\u304c\u683c\u7d0d\u3055\u308c\u308b\u6642\u3057\u304b\u78ba\u8a8d\u3057\u3066\u3044\u306a\u3044\u3002<\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">errorThrown<\/mark><br>HTTP\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u3068\u3001\u300cNot Found\u300d\u3084\u300cInternal Server Error\u300d\u306a\u3069\u306e HTTP\u30b9\u30c6\u30fc\u30bf\u30b9\u306e\u30c6\u30ad\u30b9\u30c8\u90e8\u5206\u3092\u53d7\u3051\u53d6\u308b\u3002<br>(HTTP\/2 \u3067\u306f\u4ee3\u308f\u308a\u306b\u7a7a\u306e\u6587\u5b57\u5217\u306b\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059)<\/p>\n\n\n\n<p>\u5099\u8003<br>jQuery\u516c\u5f0fweb\u30b5\u30a4\u30c8\u3092\u898b\u308b\u3068<br>error<br>Type: Function( jqXHR jqXHR, String textStatus, String errorThrown)<br>The function receives three arguments:The jqXHR (in jQuery 1.4.x, XMLHttpRequest) object, a string describing the type of error that occurred and an optional exception object, if one occurred.<br>\u300a\u3053\u306e\u95a2\u6570\u306f3\u3064\u306e\u5f15\u6570\u3092\u53d7\u3051\u53d6\u308a\u307e\u3059\u3002jqXHR\u30aa\u30d6\u30b8\u30a7\u30af\u30c8(jQuery 1.4.x\u3067\u306fXMLHttpRequest\u30aa\u30d6\u30b8\u30a7\u30af\u30c8)\u3001\u767a\u751f\u3057\u305f\u30a8\u30e9\u30fc\u306e\u7a2e\u985e\u3092\u793a\u3059\u6587\u5b57\u5217\u3001\u304a\u3088\u3073\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u4f8b\u5916\u30aa\u30d6\u30b8\u30a7\u30af\u30c8(\u5b58\u5728\u3059\u308b\u5834\u5408)\u3002\u300b<br><br>&#8220;if one occurred&#8221;\u306f\u300c\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u4f8b\u5916\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u300d\u3068\u3044\u3046\u610f\u5473\u3067\u3042\u308b\u3002\u3064\u307e\u308a\u3001\u4f8b\u5916\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u5b58\u5728\u3059\u308b\u304b\u3069\u3046\u304b\u306b\u5fdc\u3058\u3066\u30013\u756a\u76ee\u306e\u5f15\u6570\u304c\u6e21\u3055\u308c\u308b\u304b\u3069\u3046\u304b\u304c\u5909\u308f\u308b\u3002<br>\u300cString errorThrown(\u6587\u5b57\u5217errorThrown)\u300d\u3068\u66f8\u3044\u3066\u3042\u308b\u304c\u3001\u300can optional exception object(\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u4f8b\u5916\u30aa\u30d6\u30b8\u30a7\u30af\u30c8)\u300d\u3068\u3082\u66f8\u3044\u3066\u3042\u308a\u3001\u77db\u76fe\u3057\u3066\u3044\u308b\u3088\u3046\u306b\u601d\u3048\u308b\u3002<br>\u79c1\u306ferrorThrown\u306b\u6587\u5b57\u5217\u300cNot Found\u300d\u304c\u683c\u7d0d\u3055\u308c\u308b\u6642\u3060\u3051\u78ba\u8a8d\u3057\u305f\u3002<br>errorThrown\u304c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5834\u5408\u304c\u3042\u308a\u3048\u308b\u306e\u304b\uff1f<br><br><strong>jqXHR<\/strong><br>jqXHR\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<br>The jQuery XMLHttpRequest (jqXHR) object returned by $.ajax() as of jQuery 1.5 is a superset of the browser&#8217;s native XMLHttpRequest object.<br>(jQuery1.5\u4ee5\u964d\u306e $.ajax() \u304c\u8fd4\u3059 jQuery XMLHttpRequest (jqXHR) \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u3001\u30d6\u30e9\u30a6\u30b6\u306e\u30cd\u30a4\u30c6\u30a3\u30d6 XMLHttpRequest \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30b9\u30fc\u30d1\u30fc\u30bb\u30c3\u30c8\u3067\u3059\u3002)<br>\u3068jQuery\u516c\u5f0fweb\u30b5\u30a4\u30c8\u306b\u66f8\u3044\u3066\u3042\u308b\u3002<br>\u3053\u3053\u3067jQuery\u516c\u5f0fweb\u30b5\u30a4\u30c8\u3067\u8a00\u3044\u305f\u3044\u3053\u3068\u306f\u3001jQuery.ajax()\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u884c\u308f\u308c\u308bAjax\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u7d50\u679c\u3068\u3057\u3066\u8fd4\u3055\u308c\u308bjqXHR\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u3001\u30d6\u30e9\u30a6\u30b6\u306e\u30cd\u30a4\u30c6\u30a3\u30d6XMLHttpRequest\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u62e1\u5f35\u3057\u305f\u3082\u306e\u3067\u3042\u308a\u3001\u6a5f\u80fd\u306e\u30b9\u30fc\u30d1\u30fc\u30bb\u30c3\u30c8\u3068\u306a\u308b\u3002<br>XMLHttpRequest\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30b9\u30fc\u30d1\u30fc\u30bb\u30c3\u30c8(\u4e0a\u4f4d\u96c6\u5408)\u304cjqXHR\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3042\u308b\u3002<br><br>The jqXHR objects returned by $.ajax() as of jQuery 1.5 implement the Promise interface, giving them all the properties, methods, and behavior of a Promise (see Deferred object for more information).<br>(jQuery 1.5\u4ee5\u964d\u306e$.ajax()\u304c\u8fd4\u3059jqXHR\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u3001Promise\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u5b9f\u88c5\u3057\u3066\u304a\u308a\u3001Promise\u306e\u3059\u3079\u3066\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3001\u30e1\u30bd\u30c3\u30c9\u3001\u52d5\u4f5c\u3092\u63d0\u4f9b\u3057\u307e\u3059\uff08\u8a73\u7d30\u306f\u300cDeferred\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3092\u53c2\u7167\uff09\u3002)<br>\u3068jQuery\u516c\u5f0fweb\u30b5\u30a4\u30c8\u306b\u66f8\u3044\u3066\u3042\u308b\u3002<br>\u3053\u306ePromise\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u304c\u3044\u307e\u3044\u3061\u7406\u89e3\u3067\u304d\u3066\u3044\u306a\u3044\u304b\u3089\u52c9\u5f37\u3059\u308b\u5fc5\u8981\u304c\u308b\u306a\u3002<br>\u300cPromise\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u304c\u5b9f\u88c5\u300d\u3068\u3044\u3046\u8a00\u3044\u65b9\u3059\u308b\u306e\u304b\uff1f<br><br>done\u30e1\u30bd\u30c3\u30c9\u3068fail\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u305f\u4f8b\u3092\u6b21\u306b\u793a\u3059\u3002<\/p>\n\n\n\n<pre><code>\n$.ajax({\n  type: 'POST',\n  url: 'test.txt',\n  dataType: 'text'\n}).done(function(data, textStatus, jqXHR) {\n  console.log(data);\n  console.log(textStatus);\n  console.log(jqXHR);\n}).fail(function(jqXHR, textStatus, errorThrown){\n  console.error(\"jqXHR.status = \" + jqXHR.status + \",textStatus = \" + textStatus + \",errorThrown = \" + errorThrown);\n});\n<\/code><\/pre>\n\n\n\n<p>\u53c2\u8003<br><a href=\"https:\/\/api.jquery.com\/jquery.ajax\/\">jQuery.ajax() | jQuery API Documentation<\/a> ExternalLink<br><a href=\"https:\/\/qiita.com\/otsukayuhi\/items\/31ee9a761ce3b978c87a\">JavaScript\u304c\u3061\u3087\u3063\u3068\u308f\u304b\u308b\u4eba\u5411\u3051\u306e\u3001Ajax\u306e\u8a71\u3002 &#8211; Qiita<\/a> ExternalLink<br><a href=\"https:\/\/js.studio-kingdom.com\/jquery\/ajax\/ajax\">$.ajax() | jQuery 1.9 \u65e5\u672c\u8a9e\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9 | js STUDIO (studio-kingdom.com)<\/a> ExternalLink<\/p>\n\n\n\n<script type=\"text\/javascript\">\njQuery(function($){\n$(\".jp-video\").hide();\n});\n<\/script>\n\n\n\n<p><br><br><br><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>jQuery.ajax()\u306e\u623b\u308a\u5024 jQuery.ajax()\u306e\u623b\u308a\u5024\u306fjqXHR\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3042\u308b\u3002jqXHR\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u5bfe\u3057\u3066done\u30e1\u30bd\u30c3\u30c9\u3068fail\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30b5\u30fc\u30d0\u304c\u8fd4\u3059\u30c7\u30fc\u30bf\u7b49\u3092\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002do [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-996","post","type-post","status-publish","format-standard","hentry","category-javascript"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/attacktube.com\/index.php?rest_route=\/wp\/v2\/posts\/996","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/attacktube.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/attacktube.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/attacktube.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/attacktube.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=996"}],"version-history":[{"count":52,"href":"https:\/\/attacktube.com\/index.php?rest_route=\/wp\/v2\/posts\/996\/revisions"}],"predecessor-version":[{"id":2663,"href":"https:\/\/attacktube.com\/index.php?rest_route=\/wp\/v2\/posts\/996\/revisions\/2663"}],"wp:attachment":[{"href":"https:\/\/attacktube.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=996"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/attacktube.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=996"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/attacktube.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=996"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}