{"id":11992,"date":"2018-05-31T16:09:31","date_gmt":"2018-05-31T07:09:31","guid":{"rendered":"https:\/\/nxpg.net\/blog\/?p=11992"},"modified":"2019-06-11T16:42:38","modified_gmt":"2019-06-11T07:42:38","slug":"5%e5%88%86%e3%81%a7%e5%88%86%e3%81%8b%e3%82%8b%ef%bc%81-nuxt-js-axios%e3%81%a7api%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b%e3%80%82","status":"publish","type":"post","link":"https:\/\/nxpg.net\/blog\/tech\/?p=11992","title":{"rendered":"5\u5206\u3067\u5206\u304b\u308b\uff01 Nuxt.js + axios\u3067API\u3092\u4f7f\u3063\u3066\u307f\u308b\u3002"},"content":{"rendered":"<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/nxpg.net\/blog\/tech\/wp-content\/uploads\/sites\/7\/2018\/05\/blog_thumbnail_2.png\" alt=\"\" width=\"720\" height=\"480\" class=\"aligncenter size-full wp-image-11999\" title=\"5\u5206\u3067\u5206\u304b\u308b\uff01 Nuxt.js + axios\u3067API\u3092\u4f7f\u3063\u3066\u307f\u308b\"><br \/>\n\u7686\u3055\u3093\u3001Nuxt.js\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u304b\uff1f<\/p>\n<p><a href=\"https:\/\/nxpg.net\/blog\/?p=11751\">\u524d\u56de\u306e\u8a18\u4e8b<\/a>\u3067\u3001Nuxt.js\u306e\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u306b\u3064\u3044\u3066\u66f8\u304d\u307e\u3057\u305f\u3002<br \/>\n\u4eca\u56de\u306faxios\u3067\u884c\u3046HTTP\u901a\u4fe1\u306b\u3064\u3044\u3066\u3067\u3059\u3002<\/p>\n<h2>axios\u3063\u3066\u4f55\uff1f<\/h2>\n<p>\u30b5\u30a4\u30c8\u306b\u306f\u300cPromise based HTTP client for the browser and node.js\u300d\u3068\u3042\u308a\u307e\u3059\u3002<br \/>\n\u30d6\u30e9\u30a6\u30b6\u3084node.js\u3067\u52d5\u304fPromise\u30d9\u30fc\u30b9\u306eHTTP client\u3001\u305d\u306e\u307e\u307e\u3067\u3059\u306d\u2026<br \/>\najax\u306e\u3088\u3046\u306bAPI\u3092\u4f7f\u3046\u5fc5\u8981\u304c\u3042\u308b\u6642\u306a\u3069\u306b\u3001axios\u3092\u4f7f\u7528\u3059\u308b\u3068\u4fbf\u5229\u306b\u5b9f\u88c5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\nVue\uff08Nuxt.js\uff09\u3067\u4f7f\u3046\u3053\u3068\u304c\u5fc5\u9808\u3068\u3044\u3046\u308f\u3051\u3067\u306f\u306a\u3044\u3067\u3059\u304c\u3001\u8272\u3093\u306a\u30b5\u30a4\u30c8\u3092\u898b\u308b\u3068\u4f7f\u7528\u3055\u308c\u308b\u3053\u3068\u304c\u591a\u3044\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u3088\u3046\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/ja.nuxtjs.org\/guide\/plugins#%E5%A4%96%E9%83%A8%E3%83%91%E3%83%83%E3%82%B1%E3%83%BC%E3%82%B8%E3%81%AE%E5%88%A9%E7%94%A8\" rel=\"noopener noreferrer\" target=\"_blank\">Nuxt.js\u306e\u516c\u5f0f\u30b5\u30a4\u30c8<\/a>\u306b\u3082\u3001\u5c11\u3057\u7d39\u4ecb\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>\u307e\u305a\u306f\u52d5\u304b\u3057\u3066\u307f\u308b<\/h2>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u3057\u307e\u3059\u3002<br \/>\n<code>npm install --save axios<br \/>\n<\/code><\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u7c21\u5358\u306a\u30b5\u30f3\u30d7\u30eb\u3092\u4f5c\u6210\u3057\u3066\u52d5\u304d\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br \/>\nAPI\u306f\u4e0b\u8a18\u30b5\u30a4\u30c8\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u3066\u307f\u307e\u3059\u3002<br \/>\n<a href=\"http:\/\/zipcloud.ibsnet.co.jp\/api\/search?zipcode=1040032&amp;callback=jsonData\" rel=\"noopener noreferrer\" target=\"_blank\">http:\/\/zipcloud.ibsnet.co.jp\/api\/search?zipcode=1040032&amp;callback=jsonData<\/a><\/p>\n<p><code>\/pages\/index.vue<br \/>\n&lt;script&gt;<br \/>\nimport AppLogo from '~\/components\/AppLogo.vue'<br \/>\nimport axios from 'axios'<\/code><\/p>\n<p><code><br \/>\n<\/code><code>export default {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;components: {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AppLogo<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;},<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;asyncData ({}) {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;let data = axios.get(`http:\/\/zipcloud.ibsnet.co.jp\/api\/search?zipcode=1040032`)<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.then((res) =&gt; {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;console.log(res.data.status, res.data.results[0].address1, res.data.results[0].address2, res.data.results[0].address3)<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;})<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;}<br \/>\n}<br \/>\n&lt;\/script&gt;<br \/>\n<\/code><\/p>\n<p>\u4e0b\u8a18\u304c\u51fa\u529b\u3055\u308c\u305f\u3089\u6210\u529f\u3067\u3059\u3002<br \/>\n\u8aac\u660e\u3059\u308b\u3068\u3053\u308d\u304c\u7121\u3044\u307b\u3069\u3001\u7c21\u5358\u3067\u3059\u306d\u3002<br \/>\n<code>200 '\u6771\u4eac\u90fd' '\u4e2d\u592e\u533a' \u2018\u516b\u4e01\u5800'<br \/>\n<\/code><\/p>\n<h2>\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6e21\u3059<\/h2>\n<p>\u3067\u306f\u6b21\u306b\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u52d5\u7684\u306b\u6e21\u305b\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3059\u3002<br \/>\n\u4eca\u56de\u306fget\u306b\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u3082\u3061\u308d\u3093post\u3084put\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;let zipcode = '1040032'<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;let data = axios.get('http:\/\/zipcloud.ibsnet.co.jp\/api\/search',<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;params: {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;zipcode: zipcode<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;})<br \/>\n<\/code><\/p>\n<h2>\u6c4e\u7528\u6027\u3092\u6301\u305f\u305b\u308b<\/h2>\n<p>API\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u3001\u8272\u3005\u306a\u74b0\u5883\u306eAPI\u3092\u4f7f\u7528\u3059\u308b\u3088\u308a\u9650\u3089\u308c\u305f\u74b0\u5883\u306e\u3082\u306e\u3092\u4f55\u5ea6\u3082\u4f7f\u3046\u30b1\u30fc\u30b9\u304c\u591a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u305d\u306e\u5834\u5408\u3001\u6bce\u56deAPI\u3092\u4f7f\u7528\u3059\u308b\u305f\u3073\u306b\u30b5\u30fc\u30d0\u7528\u306e\u8a18\u8ff0\u3092\u3057\u3066\u3044\u305f\u3089\u5927\u5909\u306a\u306e\u3067\u3042\u308b\u7a0b\u5ea6\u5171\u901a\u5316\u3055\u305b\u3066\u304a\u3044\u305f\u307b\u3046\u304c\u4fbf\u5229\u3067\u3059\u3002<br \/>\naxios.create()\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u3053\u308c\u306bbaseURL\u3092\u8a2d\u5b9a\u3059\u308c\u3070\u3001\u4ed6\u306bAPI\u3092\u4f7f\u7528\u3057\u305f\u3044\u5834\u5408\u3067\u3082\u4f7f\u3044\u56de\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var api = axios.create()<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;api.defaults.baseURL = 'http:\/\/zipcloud.ibsnet.co.jp\/'<\/code><\/p>\n<p><code><br \/>\n<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;api({<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;url: 'api\/search',<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;method: 'get',<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;params: {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;zipcode: '1040032'<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}).then((res) =&gt; {<br \/>\n<\/code><\/p>\n<h2>\u30a2\u30af\u30b7\u30e7\u30f3\u306b\u767b\u9332\u3059\u308b<\/h2>\n<p>\u3053\u308c\u307e\u3067axios\u3092\u4f7f\u3063\u3066API\u304b\u3089\u5024\u3092\u53d6\u5f97\u3057\u3066\u304d\u307e\u3057\u305f\u3002<br \/>\n\u8272\u3005\u3068API\u3092\u4f7f\u7528\u3059\u308b\u969b\u306b\u4fbf\u5229\u306b\u4f7f\u3046\u3053\u3068\u304c\u51fa\u6765\u308b\u3068\u3044\u3046\u306e\u306f\u5206\u304b\u3063\u3066\u3044\u305f\u3060\u3044\u305f\u3068\u601d\u3046\u306e\u3067\u3059\u304c\u3001<br \/>\n\u6700\u5f8c\u306bvuex\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u306b\u767b\u9332\u3059\u308b\u3053\u3068\u3067\u3001\u8272\u3005\u306acomponent\u304b\u3089\u547c\u3073\u51fa\u305b\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><code>store\/index.js<br \/>\nimport Vuex from 'vuex'<br \/>\nimport axios from 'axios'<\/code><\/p>\n<p><code>const store = () =&gt; new Vuex.Store({<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;actions: {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;async callApi ({}, payload) {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var api = axios.create()<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;api.defaults.baseURL = 'http:\/\/zipcloud.ibsnet.co.jp\/'<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;await api({<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;url: payload.url,<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;method: payload.method,<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;params: payload.params<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;})<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.then((res) =&gt; {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;console.log(res.data.status, res.data.results[0].address1, res.data.results[0].address2, res.data.results[0].address3)<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;})<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;}<br \/>\n})<\/p>\n<p><\/code><code>export default store<br \/>\n<\/code><\/p>\n<p>\u3053\u308c\u307e\u3067\u4f5c\u6210\u3057\u3066\u304d\u305f\u3082\u306e\u3068\u307b\u3068\u3093\u3069\u540c\u3058\u306a\u306e\u3067\u3059\u304c\u3001vuex\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u306b\u767b\u9332\u3059\u308b\u3053\u3068\u3067\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6e21\u305b\u3070\u5171\u901a\u306e\u51e6\u7406\u3092\u884c\u3063\u3066\u304f\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><code>\/pages\/index.js<br \/>\nasyncData ({ store }) {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;store.dispatch('callApi', {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;url: 'api\/search',<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;method: 'get',<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;params: {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;zipcode: '1040032'<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;})<br \/>\n}<br \/>\n<\/code><br \/>\n\u547c\u3073\u51fa\u3059\u5074\u3082\u304b\u306a\u308a\u30b7\u30f3\u30d7\u30eb\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u6700\u5f8c\u306b<\/h2>\n<p>\u3044\u304b\u304c\u3067\u3057\u305f\u3067\u3057\u3087\u3046\u304b\u3002\u7c21\u5358\u3067\u3057\u305f\u306d\uff08\u96d1\uff09<br \/>\njQuery\u3067\u3082ajax\u3092\u4f7f\u7528\u3057\u3066API\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d7\u3051\u53d6\u308b\u3053\u3068\u306f\u591a\u304b\u3063\u305f\u3067\u3059\u304c\u3001<br \/>\n\u5197\u9577\u306b\u306a\u308b\u3053\u3068\u304c\u591a\u304f\u3042\u307e\u308a\u30b9\u30c3\u30ad\u30ea\u3068\u3057\u305f\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002<br \/>\naxios\u3067\u3042\u308c\u3070\u69d8\u3005\u306aAPI\u304c\u3059\u3067\u306b\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u304b\u306a\u308a\u4fbf\u5229\u3067\u3059\u3002<br \/>\n\u7d39\u4ecb\u3057\u305f\u306e\u306f\u307e\u3060\u307e\u3060\u5e8f\u306e\u53e3\u3067\u3059\u304c\u3001\u305c\u3072\u53c2\u8003\u306b\u3057\u3066\u3044\u305f\u3060\u3051\u308c\u3070\u5b09\u3057\u3044\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7686\u3055\u3093\u3001Nuxt.js\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u304b\uff1f \u524d\u56de\u306e\u8a18\u4e8b\u3067\u3001Nuxt.js\u306e\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u306b\u3064\u3044\u3066\u66f8\u304d\u307e\u3057\u305f\u3002 \u4eca\u56de\u306faxios\u3067\u884c\u3046HTTP\u901a\u4fe1\u306b\u3064\u3044\u3066\u3067\u3059\u3002 axios\u3063\u3066\u4f55\uff1f \u30b5\u30a4\u30c8\u306b\u306f\u300cPromise based H [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":11999,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[6],"tags":[7],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/nxpg.net\/blog\/tech\/index.php?rest_route=\/wp\/v2\/posts\/11992"}],"collection":[{"href":"https:\/\/nxpg.net\/blog\/tech\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nxpg.net\/blog\/tech\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nxpg.net\/blog\/tech\/index.php?rest_route=\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/nxpg.net\/blog\/tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11992"}],"version-history":[{"count":1,"href":"https:\/\/nxpg.net\/blog\/tech\/index.php?rest_route=\/wp\/v2\/posts\/11992\/revisions"}],"predecessor-version":[{"id":13013,"href":"https:\/\/nxpg.net\/blog\/tech\/index.php?rest_route=\/wp\/v2\/posts\/11992\/revisions\/13013"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nxpg.net\/blog\/tech\/index.php?rest_route=\/wp\/v2\/media\/11999"}],"wp:attachment":[{"href":"https:\/\/nxpg.net\/blog\/tech\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11992"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nxpg.net\/blog\/tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11992"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nxpg.net\/blog\/tech\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11992"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}