{"id":349,"date":"2026-05-17T06:46:04","date_gmt":"2026-05-16T22:46:04","guid":{"rendered":"https:\/\/junai.ai\/blog\/js-fetch-17\/"},"modified":"2026-05-17T07:11:47","modified_gmt":"2026-05-16T23:11:47","slug":"js-fetch-17","status":"publish","type":"post","link":"https:\/\/junai.ai\/blog\/js-fetch-17\/","title":{"rendered":"fetch API \u2014 API \ud638\ucd9c\uc758 \ud45c\uc900 (\uc911\uae09 17\ud3b8)"},"content":{"rendered":"\n<!-- WordPress REST API \ubc1c\ud589\uc6a9 HTML (\uc790\ub3d9 \uc0dd\uc131) -->\n<!-- WP-FEATURED-MEDIA-ID: 543 -->\n<div style=\"max-width:800px;margin:0 auto;\">\n<style>\n\/* js-textbook \u2014 PostgreSQL \uad50\uc7ac \ub3d9\uc77c \ud314\ub808\ud2b8 *\/\n:root {\n  --color-primary: #336791;\n  --color-accent: #60a5fa;\n  --color-bg: #fafafa;\n  --color-bg-card: #ffffff;\n  --color-text: #1e293b;\n  --color-text-muted: #64748b;\n  --hero-start: #0f172a;\n  --hero-end: #336791;\n  --font-body: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;\n  --size-body: 17px;\n  --line-height: 1.75;\n}\n* { box-sizing: border-box; }\n.container { max-width: 760px; margin: 0 auto; padding: 0 22px 80px; }\n.hero { background: linear-gradient(135deg, var(--hero-start) 0%, var(--hero-end) 100%); color: #fff; padding: 72px 22px 56px; text-align: center; }\n.hero .badge { display: inline-block; background: rgba(96,165,250,0.18); color: var(--color-accent); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 18px; }\n.hero h1 { margin: 0 0 18px; font-size: 36px; line-height: 1.3; letter-spacing: -0.3px; }\n.hero p.sub { margin: 0 auto; max-width: 580px; font-size: 17px; color: #bfdbfe; }\n.hero img { width: 100%; max-width: 720px; height: auto; margin: 36px auto 0; display: block; border-radius: 10px; box-shadow: 0 8px 32px rgba(0,0,0,0.3); }\n.meta { display: flex; gap: 14px; justify-content: center; margin-top: 20px; font-size: 13px; color: #93c5fd; flex-wrap: wrap; }\n.meta span::before { content: \"\u00b7\"; margin-right: 14px; color: #1e3a8a; }\n.meta span:first-child::before { content: \"\"; margin: 0; }\narticle { background: var(--color-bg-card); margin-top: -36px; padding: 44px 28px; border-radius: 14px; box-shadow: 0 2px 18px rgba(0,0,0,0.06); }\narticle p { margin: 0 0 18px; }\nh2 { font-size: 28px; line-height: 1.35; letter-spacing: -0.3px; margin: 48px 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--color-primary); }\nh2:first-of-type { margin-top: 8px; }\nh3 { font-size: 21px; line-height: 1.4; margin: 30px 0 12px; color: var(--color-primary); }\ncode { background: #f1f5f9; color: #0f172a; padding: 2px 6px; border-radius: 4px; font-family: 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 0.92em; }\npre { background: #0f172a; color: #e2e8f0; padding: 18px 20px; border-radius: 10px; overflow-x: auto; font-size: 14.5px; line-height: 1.65; margin: 18px 0; }\npre code { background: transparent; color: inherit; padding: 0; }\nul, ol { margin: 0 0 18px; padding-left: 24px; }\nli { margin-bottom: 8px; }\nstrong { color: #0f172a; }\n.databox { background: #eff6ff; border-left: 4px solid var(--color-primary); padding: 18px 20px; border-radius: 6px; margin: 22px 0; }\n.databox p { margin: 0 0 8px; }\n.databox p:last-child { margin: 0; }\n.databox strong { color: var(--color-primary); }\n.warnbox { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); border-left: 4px solid #d97706; padding: 18px 20px; border-radius: 6px; margin: 22px 0; }\n.warnbox strong { color: #92400e; }\n.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 22px 0; }\ntable { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--color-bg-card); }\nth, td { padding: 11px 12px; text-align: left; border-bottom: 1px solid #e2e8f0; vertical-align: top; }\nth { background: #f1f5f9; font-weight: 700; color: #0f172a; }\ntd:first-child, th:first-child { font-weight: 700; }\n.cta { background: linear-gradient(135deg, #336791 0%, #60a5fa 100%); color: #fff; padding: 30px 24px; border-radius: 12px; margin-top: 44px; text-align: center; }\n.cta h3 { color: #fff; margin: 0 0 10px; }\n.cta p { margin: 0; color: #dbeafe; }\n.series-nav { background: #eff6ff; padding: 18px 22px; border-radius: 10px; margin-top: 24px; font-size: 14.5px; color: var(--color-text-muted); }\n.series-nav strong { color: var(--color-primary); }\n@media (max-width: 480px) {\n  .hero { padding: 52px 18px 44px; }\n  .hero h1 { font-size: 26px; }\n  .hero p.sub { font-size: 15px; }\n  article { padding: 28px 18px; border-radius: 10px; }\n  h2 { font-size: 22px; }\n  h3 { font-size: 18px; }\npre { font-size: 13px; padding: 14px 16px; }\n}\n@media (max-width: 560px) {\n  .tablewrap table, .tablewrap thead, .tablewrap tbody, .tablewrap tr, .tablewrap th, .tablewrap td { display: block; width: auto; }\n  .tablewrap thead { display: none; }\n  .tablewrap tr { margin: 0 0 14px; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; }\n  .tablewrap td { border: none; border-bottom: 1px solid #f1f5f9; padding: 9px 14px; }\n  .tablewrap td:first-child { background: #eff6ff; font-weight: 800; font-size: 15.5px; }\n  .tablewrap td:last-child { border-bottom: none; }\n  .tablewrap td[data-label]::before { content: attr(data-label) \" \u2014 \"; font-weight: 700; color: var(--color-primary); }\n}\n<\/style>\n<header class=\"hero\">\n  <span class=\"badge\">\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \uad50\uc7ac \u00b7 17\ud3b8 \/ 26\ud3b8<\/span>\n  <h1>fetch API \u2014 API \ud638\ucd9c\uc758 \ud45c\uc900<\/h1>\n  <p class=\"sub\">GET\u00b7POST\u00b7JSON\u00b7headers\u00b7AbortController, \uadf8\ub9ac\uace0 CORS \ud55c \uc904.<\/p>\n  <div class=\"meta\"><span>\uc911\uae09<\/span><span>\uc77d\ub294 \uc2dc\uac04 7\ubd84<\/span><span>2026-05-17<\/span><\/div>\n  <img decoding=\"async\" src=\"https:\/\/junai.ai\/blog\/wp-content\/uploads\/2026\/05\/hero-188.jpg\" alt=\"fetch \uac00 URL \uc5d0 GET\/POST \uc694\uccad\uc744 \ubcf4\ub0b4\uace0 Response \ub85c \ubc1b\ub294 \ud750\ub984 \ub3c4\uc2dd\">\n<\/header>\n\n<div class=\"container\">\n<article>\n\n<p>\uc678\ubd80 \ub370\uc774\ud130\ub97c \uac00\uc838\uc624\ub294 \ud45c\uc900\uc740 <strong>fetch API<\/strong>. \uc61b XMLHttpRequest \uc758 \ud6c4\uc18d\uc774\uc790, Promise \uae30\ubc18\uc758 \uae54\ub054\ud55c API. 17\ud3b8\uc740 GET\u00b7POST \uae30\ubcf8\ubd80\ud130 \ud5e4\ub354\u00b7\ubc14\ub514\u00b7\ucde8\uc18c\u00b7CORS\uae4c\uc9c0 \u2014 \uac70\uc758 \ubaa8\ub4e0 API \ud638\ucd9c\uc774 \uc774 \ud55c \ud568\uc218\ub85c \ub05d\ub0a9\ub2c8\ub2e4.<\/p>\n\n<h2>\uac00\uc7a5 \uae30\ubcf8 \u2014 GET \ud55c \uc904<\/h2>\n\n<pre><code>\/\/ \ub2e8\uc21c \ud638\ucd9c\nconst res = await fetch(\"https:\/\/api.example.com\/users\");\nconst users = await res.json();\nconsole.log(users);\n\n\/\/ \uc804\uccb4 \ud750\ub984 \uba85\uc2dc\nasync function loadUsers() {\n  const res = await fetch(\"https:\/\/api.example.com\/users\");\n  if (!res.ok) throw new Error(`HTTP ${res.status}`);\n  return res.json();\n}<\/code><\/pre>\n\n<div class=\"warnbox\">\n  <p><strong>fetch \uc758 \uac00\uc7a5 \ud070 \ud568\uc815.<\/strong> 4xx\u00b75xx \uc751\ub2f5\ub3c4 <strong>reject \ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4<\/strong> \u2014 <code>res.ok<\/code>(2xx \uc774\uba74 true) \uc9c1\uc811 \uac80\uc0ac. \ub124\ud2b8\uc6cc\ud06c \uc790\uccb4\uac00 \ub04a\uacbc\uc744 \ub54c\ub9cc reject. \ubaa8\ub4e0 fetch \ucf54\ub4dc\uc5d0 <code>if (!res.ok)<\/code> \uac00 \ud544\uc694\ud55c \uc774\uc720.<\/p>\n<\/div>\n\n<h2>Response \uac1d\uccb4 \u2014 \ub2e4\uc591\ud55c \ud615\ud0dc\ub85c \ubc1b\uae30<\/h2>\n\n<pre><code>const res = await fetch(url);\n\n\/\/ res \uc758 \uc18d\uc131\nres.ok;            \/\/ 2xx \uc5ec\ubd80\nres.status;        \/\/ 200, 404, 500 \ub4f1\nres.statusText;    \/\/ \"OK\", \"Not Found\"\nres.headers;       \/\/ Headers \uac1d\uccb4\nres.url;           \/\/ \ucd5c\uc885 URL (\ub9ac\ub2e4\uc774\ub809\ud2b8 \ud6c4)\n\n\/\/ \ubc14\ub514 \uc77d\uae30 \u2014 \ud55c \ubc88\ub9cc \uac00\ub2a5\nawait res.json();      \/\/ JSON \ud30c\uc2f1\nawait res.text();      \/\/ \ud14d\uc2a4\ud2b8\nawait res.blob();      \/\/ \ubc14\uc774\ub108\ub9ac (\uc774\ubbf8\uc9c0\u00b7\ud30c\uc77c)\nawait res.arrayBuffer(); \/\/ ArrayBuffer\nawait res.formData();    \/\/ multipart form<\/code><\/pre>\n\n<h2>POST \u00b7 JSON \ubcf4\ub0b4\uae30<\/h2>\n\n<pre><code>const res = await fetch(\"\/api\/users\", {\n  method: \"POST\",\n  headers: {\n    \"Content-Type\": \"application\/json\",\n  },\n  body: JSON.stringify({ name: \"\uc900\uc131\", age: 39 }),\n});\n\nif (!res.ok) {\n  const err = await res.text();\n  throw new Error(`HTTP ${res.status}: ${err}`);\n}\n\nconst created = await res.json();\nconsole.log(created);<\/code><\/pre>\n\n<h2>HTTP \uba54\uc11c\ub4dc\ubcc4 \ud5ec\ud37c \u2014 \uae54\ub054\ud55c \ud328\ud134<\/h2>\n\n<pre><code>async function api(method, path, body) {\n  const res = await fetch(`\/api${path}`, {\n    method,\n    headers: body ? { \"Content-Type\": \"application\/json\" } : undefined,\n    body: body ? JSON.stringify(body) : undefined,\n  });\n\n  if (!res.ok) {\n    let detail;\n    try { detail = await res.json(); } catch { detail = await res.text(); }\n    throw new Error(`HTTP ${res.status}: ${JSON.stringify(detail)}`);\n  }\n\n  \/\/ 204 No Content \ucc98\ub9ac\n  if (res.status === 204) return null;\n  return res.json();\n}\n\n\/\/ \uc0ac\uc6a9\nawait api(\"GET\", \"\/users\");\nawait api(\"POST\", \"\/users\", { name: \"\uc900\uc131\" });\nawait api(\"PATCH\", \"\/users\/1\", { name: \"\uc900\uc11d\" });\nawait api(\"DELETE\", \"\/users\/1\");<\/code><\/pre>\n\n<h2>\ucffc\ub9ac \uc2a4\ud2b8\ub9c1 \u2014 URLSearchParams<\/h2>\n\n<pre><code>\/\/ \u274c \uc9c1\uc811 \ubb38\uc790\uc5f4\nconst url = `\/api\/users?page=${page}&q=${q}`;   \/\/ \uc778\ucf54\ub529 \ub204\ub77d\n\n\/\/ \u2705 URLSearchParams\nconst params = new URLSearchParams({ page: \"1\", q: \"\uc900\uc131 \uae40\", active: \"true\" });\nconst url = `\/api\/users?${params}`;\n\/\/ \"\/api\/users?page=1&q=%EC%A4%80%EC%84%B1+%EA%B9%80&active=true\"\n\n\/\/ \ub3d9\uc801 \ucd94\uac00\nconst params = new URLSearchParams();\nif (q) params.set(\"q\", q);\nif (page &gt; 1) params.set(\"page\", String(page));<\/code><\/pre>\n\n<h2>headers \u2014 Authorization \u00b7 \ucee4\uc2a4\ud140<\/h2>\n\n<pre><code>\/\/ \uac1d\uccb4\ub85c\nfetch(url, {\n  headers: {\n    \"Authorization\": `Bearer ${token}`,\n    \"Accept-Language\": \"ko\",\n    \"X-Request-Id\": crypto.randomUUID(),\n  },\n});\n\n\/\/ Headers \uac1d\uccb4\ub85c (\ub354 \uc548\uc804)\nconst headers = new Headers();\nheaders.set(\"Authorization\", `Bearer ${token}`);\nheaders.append(\"X-Tag\", \"first\");\nheaders.append(\"X-Tag\", \"second\");   \/\/ \uac19\uc740 \ud0a4 \uc5ec\ub7ec \uac12\n\n\/\/ \uc790\uc8fc \uac19\uc774 \ubcf4\ub0b4\ub294 \ud5e4\ub354\ub294 \uc778\ud130\uc149\ud130 \ud328\ud134\nfunction authFetch(url, options = {}) {\n  return fetch(url, {\n    ...options,\n    headers: {\n      \"Authorization\": `Bearer ${getToken()}`,\n      ...options.headers,\n    },\n  });\n}<\/code><\/pre>\n\n<h2>AbortController \u2014 \uc694\uccad \ucde8\uc18c\u00b7\ud0c0\uc784\uc544\uc6c3<\/h2>\n\n<pre><code>const ctrl = new AbortController();\n\nconst res = await fetch(url, { signal: ctrl.signal });\n\n\/\/ \ub2e4\ub978 \uacf3\uc5d0\uc11c \ucde8\uc18c\nctrl.abort();   \/\/ fetch \uac00 \uc989\uc2dc reject (AbortError)\n\n\/\/ \ud0c0\uc784\uc544\uc6c3 (ES2024+)\nconst res = await fetch(url, {\n  signal: AbortSignal.timeout(5000),   \/\/ 5\ucd08 \ub4a4 \uc790\ub3d9 \ucde8\uc18c\n});\n\n\/\/ \uc61b \ubc29\uc2dd\nconst ctrl = new AbortController();\nconst timer = setTimeout(() =&gt; ctrl.abort(), 5000);\ntry {\n  const res = await fetch(url, { signal: ctrl.signal });\n} finally {\n  clearTimeout(timer);\n}\n\n\/\/ React \ucef4\ud3ec\ub10c\ud2b8 unmount \uc2dc \ucde8\uc18c\nuseEffect(() =&gt; {\n  const ctrl = new AbortController();\n  fetch(url, { signal: ctrl.signal });\n  return () =&gt; ctrl.abort();\n}, []);<\/code><\/pre>\n\n<h2>FormData \u2014 \ud30c\uc77c \uc5c5\ub85c\ub4dc<\/h2>\n\n<pre><code>const form = new FormData();\nform.append(\"name\", \"\uc900\uc131\");\nform.append(\"avatar\", fileInput.files[0]);   \/\/ File \uac1d\uccb4\n\nconst res = await fetch(\"\/api\/upload\", {\n  method: \"POST\",\n  body: form,\n  \/\/ Content-Type \uc9c1\uc811 \uc9c0\uc815 X \u2014 \ube0c\ub77c\uc6b0\uc800\uac00 boundary \uc790\ub3d9 \uc124\uc815\n});<\/code><\/pre>\n\n<div class=\"warnbox\">\n  <p><strong>FormData + Content-Type \ud568\uc815.<\/strong> FormData \ubcf4\ub0bc \ub54c\ub294 <code>Content-Type<\/code> \ud5e4\ub354 \uc808\ub300 \uc9c1\uc811 \uc9c0\uc815 X. \ube0c\ub77c\uc6b0\uc800\uac00 <code>multipart\/form-data; boundary=...<\/code> \ub97c \uc790\ub3d9 \uc0dd\uc131\ud558\ub2c8\uae4c\uc694. \uc9c1\uc811 \uc801\uc73c\uba74 boundary \uac00 \ube60\uc838 \uc11c\ubc84\uac00 \ubabb \uc77d\uc74c.<\/p>\n<\/div>\n\n<h2>credentials \u2014 \ucfe0\ud0a4 \ubcf4\ub0b4\uae30<\/h2>\n\n<pre><code>fetch(url, {\n  credentials: \"include\",     \/\/ \ub2e4\ub978 origin \ub3c4 \ucfe0\ud0a4 \ud3ec\ud568\n  \/\/ \"same-origin\" \u2014 \uac19\uc740 origin \ub9cc (\uae30\ubcf8\uac12)\n  \/\/ \"omit\" \u2014 \ucfe0\ud0a4 \uc548 \ubcf4\ub0c4\n});<\/code><\/pre>\n\n<h2>CORS \u2014 \ud55c \uc904 \uc815\ub9ac<\/h2>\n\n<div class=\"databox\">\n  <p><strong>CORS \uac00 \ubb54\uc9c0.<\/strong> \ube0c\ub77c\uc6b0\uc800\ub294 \ubcf4\uc548\uc0c1 <strong>\ub2e4\ub978 origin<\/strong>(\ub2e4\ub978 \ub3c4\uba54\uc778\u00b7\ud3ec\ud2b8\u00b7\uc2a4\ud0b4) \uc758 \uc751\ub2f5\uc744 \ub9c9\uc2b5\ub2c8\ub2e4. \uc11c\ubc84\uac00 <code>Access-Control-Allow-Origin<\/code> \ud5e4\ub354\ub85c \uba85\uc2dc\uc801 \ud5c8\uc6a9 \ud45c\uc2dc\ub97c \ud574\uc57c \ud480\ub9bc.<\/p>\n  <p><strong>\ud574\uacb0\ubc95\uc740 \uc11c\ubc84 \ucabd.<\/strong> \ud074\ub77c\uc774\uc5b8\ud2b8 fetch \uc635\uc158\uc73c\ub85c\ub294 \ubabb \ud480\uc5b4\uc694. \ubc31\uc5d4\ub4dc\uc5d0\uc11c <code>Access-Control-Allow-Origin: *<\/code>(\ub610\ub294 \ud2b9\uc815 origin) \uc124\uc815\ud558\uac70\ub098, \uac19\uc740 origin \uc73c\ub85c \ud504\ub85d\uc2dc.<\/p>\n<\/div>\n\n<h2>\uc2a4\ud2b8\ub9ac\ubc0d \uc751\ub2f5 \u2014 ReadableStream<\/h2>\n\n<pre><code>const res = await fetch(\"\/api\/big-data\");\nconst reader = res.body.getReader();\nconst decoder = new TextDecoder();\n\nwhile (true) {\n  const { value, done } = await reader.read();\n  if (done) break;\n  console.log(decoder.decode(value, { stream: true }));\n}\n\n\/\/ LLM \uc2a4\ud2b8\ub9ac\ubc0d \uc751\ub2f5 \ubc1b\uae30 \ub4f1\uc5d0 \uc0ac\uc6a9<\/code><\/pre>\n\n<h2>\uc2e4\uc804 \u2014 \uc5d0\ub7ec \ucc98\ub9ac + \uc7ac\uc2dc\ub3c4<\/h2>\n\n<pre><code>async function apiWithRetry(url, options, max = 3) {\n  let lastErr;\n  for (let i = 0; i &lt; max; i++) {\n    try {\n      const res = await fetch(url, {\n        ...options,\n        signal: AbortSignal.timeout(10000),\n      });\n      if (res.ok) return res;\n      \/\/ 5xx \ub9cc \uc7ac\uc2dc\ub3c4 (4xx \ub294 \ud074\ub77c\uc774\uc5b8\ud2b8 \uc5d0\ub7ec\ub77c \uc758\ubbf8 \uc5c6\uc74c)\n      if (res.status &lt; 500) throw new Error(`HTTP ${res.status}`);\n      lastErr = new Error(`HTTP ${res.status}`);\n    } catch (err) {\n      lastErr = err;\n    }\n    \/\/ \uc9c0\uc218 \ubc31\uc624\ud504\n    await new Promise(r =&gt; setTimeout(r, 1000 * 2 ** i));\n  }\n  throw lastErr;\n}<\/code><\/pre>\n\n<div class=\"cta\">\n  <h3>18\ud3b8 \u2014 \ud074\ub798\uc2a4\uc640 \uac1d\uccb4\uc9c0\ud5a5<\/h3>\n  <p>class\u00b7extends\u00b7this\u00b7getter\/setter \u2014 \ubaa8\ub358 JS \uc758 OOP \ud45c\uc900.<\/p>\n<\/div>\n\n<div class=\"series-nav\">\n  <strong>\ud83d\udcda \uc27d\uac8c \ubc30\uc6b0\ub294 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \uad50\uc7ac<\/strong><br>\n  \uc774\uc804: 16\ud3b8 Promise \u00b7 \ud604\uc7ac: <strong>17\ud3b8 (\uc911\uae09)<\/strong> \u00b7 \ub2e4\uc74c \u2192 18\ud3b8 \ud074\ub798\uc2a4 \u00b7 \uc9c4\ud589: <strong>17\/26<\/strong>\n<\/div>\n\n<\/article>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>fetch \uc0ac\uc6a9\ubc95\u00b7POST\u00b7AbortController\u00b7CORS. 26\ud3b8 \uad50\uc7ac 17\ud3b8.<\/p>\n","protected":false},"author":1,"featured_media":543,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-349","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-javascript-basic"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/comments?post=349"}],"version-history":[{"count":3,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/349\/revisions"}],"predecessor-version":[{"id":569,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/349\/revisions\/569"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media\/543"}],"wp:attachment":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media?parent=349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/categories?post=349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/tags?post=349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}