{"id":348,"date":"2026-05-17T06:45:59","date_gmt":"2026-05-16T22:45:59","guid":{"rendered":"https:\/\/junai.ai\/blog\/js-promise-async-16\/"},"modified":"2026-05-17T07:11:46","modified_gmt":"2026-05-16T23:11:46","slug":"js-promise-async-16","status":"publish","type":"post","link":"https:\/\/junai.ai\/blog\/js-promise-async-16\/","title":{"rendered":"Promise \uc640 async\/await \u2014 \ube44\ub3d9\uae30 \ud45c\uc900 (\uc911\uae09 16\ud3b8)"},"content":{"rendered":"\n<!-- WordPress REST API \ubc1c\ud589\uc6a9 HTML (\uc790\ub3d9 \uc0dd\uc131) -->\n<!-- WP-FEATURED-MEDIA-ID: 542 -->\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 16\ud3b8 \/ 26\ud3b8<\/span>\n  <h1>Promise \uc640 async\/await<\/h1>\n  <p class=\"sub\">\ucf5c\ubc31 \ud5ec \ud0c8\ucd9c. then\/catch \uc640 async\/await, \uadf8\ub9ac\uace0 Promise.all \ud328\ud134.<\/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-187.jpg\" alt=\"Promise \uac00 pending \u2192 fulfilled\/rejected \ub85c \uc804\uc774\ub418\ub294 \uc0c1\ud0dc \ub2e4\uc774\uc5b4\uadf8\ub7a8\">\n<\/header>\n\n<div class=\"container\">\n<article>\n\n<p>15\ud3b8\uc758 \ucf5c\ubc31 \ud5ec\uc744 \ud478\ub294 \ud45c\uc900 \ub3c4\uad6c\uac00 <strong>Promise<\/strong>(ES2015) \uc640 \uadf8 \ubb38\ubc95\uc801 \uc124\ud0d5 <strong>async\/await<\/strong>(ES2017). 16\ud3b8\uc740 \ub450 \ub3c4\uad6c\uc758 \ud575\uc2ec \uc0ac\uc6a9\ubc95, \ub3d9\uc2dc \uc2e4\ud589 \ud328\ud134(Promise.all\/race\/allSettled), \uadf8\ub9ac\uace0 \uc790\uc8fc \ub9cc\ub098\ub294 \ud568\uc815\uae4c\uc9c0.<\/p>\n\n<h2>Promise \u2014 3\uac00\uc9c0 \uc0c1\ud0dc<\/h2>\n\n<pre><code>\/\/ Promise \ub294 \"\ubbf8\ub798\uc758 \uac12\" \uc744 \ub2f4\uc740 \uac1d\uccb4\nconst p = new Promise((resolve, reject) =&gt; {\n  setTimeout(() =&gt; {\n    if (Math.random() &gt; 0.5) resolve(\"\uc131\uacf5!\");\n    else reject(new Error(\"\uc2e4\ud328\"));\n  }, 1000);\n});\n\n\/\/ \uc0c1\ud0dc\n\/\/ pending \u2192 fulfilled (resolve \ud638\ucd9c)\n\/\/ pending \u2192 rejected (reject \ud638\ucd9c)\n\/\/ \ud55c \ubc88 settle \ub418\uba74 \ub2e4\uc2dc \uc548 \ubc14\ub01c<\/code><\/pre>\n\n<h2>then \u00b7 catch \u00b7 finally<\/h2>\n\n<pre><code>p\n  .then(value =&gt; {\n    console.log(\"\uc131\uacf5:\", value);\n    return value.toUpperCase();   \/\/ \ub2e4\uc74c then \uc5d0 \uc804\ub2ec\n  })\n  .then(upper =&gt; console.log(upper))\n  .catch(err =&gt; console.error(err))    \/\/ \uc5b4\ub514\uc11c reject \ub410\ub4e0 \uc5ec\uae30\ub85c\n  .finally(() =&gt; console.log(\"\ub05d\"));   \/\/ \uc131\uacf5\/\uc2e4\ud328 \ubb34\uad00<\/code><\/pre>\n\n<h2>async\/await \u2014 \uac19\uc740 \uc77c\uc744 \ubcf4\uae30 \uc88b\uac8c<\/h2>\n\n<pre><code>\/\/ Promise \uccb4\uc774\ub2dd\nfunction loadUser(id) {\n  return fetch(`\/api\/users\/${id}`)\n    .then(res =&gt; res.json())\n    .then(user =&gt; {\n      return fetch(`\/api\/orders?userId=${user.id}`);\n    })\n    .then(res =&gt; res.json())\n    .then(orders =&gt; ({ user, orders }))   \/\/ \u2190 user \uac00 \uc548 \ubcf4\uc784 (\uc2a4\ucf54\ud504)\n    .catch(err =&gt; console.error(err));\n}\n\n\/\/ async\/await \u2014 \ub3d9\uae30\ucc98\ub7fc \uc77d\ud798\nasync function loadUser(id) {\n  try {\n    const res1 = await fetch(`\/api\/users\/${id}`);\n    const user = await res1.json();\n    const res2 = await fetch(`\/api\/orders?userId=${user.id}`);\n    const orders = await res2.json();\n    return { user, orders };\n  } catch (err) {\n    console.error(err);\n  }\n}<\/code><\/pre>\n\n<div class=\"databox\">\n  <p><strong>\ud55c \uc904.<\/strong> async \ud568\uc218\ub294 <strong>\ud56d\uc0c1 Promise \ub97c \ubc18\ud658<\/strong>\ud569\ub2c8\ub2e4. \ubcf8\ubb38\uc5d0\uc11c return \ud55c \uac12\uc774 \uc790\ub3d9\uc73c\ub85c wrap. throw \ud55c \uc5d0\ub7ec\ub294 reject \uac00 \ub428. await \ub294 Promise \uc758 \uac12\uc744 \uaebc\ub0c4.<\/p>\n<\/div>\n\n<h2>Promise.all \u2014 \ub3d9\uc2dc \uc2e4\ud589<\/h2>\n\n<pre><code>\/\/ \u274c \uc21c\ucc28 \u2014 \ub450 fetch \uac00 \ucc28\ub840\ub85c (\ub290\ub9bc)\nconst u = await fetch(\"\/users\").then(r =&gt; r.json());\nconst p = await fetch(\"\/posts\").then(r =&gt; r.json());\n\/\/ \ucd1d \uc2dc\uac04: \ub450 \uc751\ub2f5 \uc2dc\uac04\uc758 \ud569\n\n\/\/ \u2705 \ubcd1\ub82c \u2014 Promise.all\nconst [u, p] = await Promise.all([\n  fetch(\"\/users\").then(r =&gt; r.json()),\n  fetch(\"\/posts\").then(r =&gt; r.json()),\n]);\n\/\/ \ucd1d \uc2dc\uac04: \ub450 \uc751\ub2f5 \uc911 \ub290\ub9b0 \ucabd<\/code><\/pre>\n\n<div class=\"warnbox\">\n  <p><strong>Promise.all \uc758 \ud568\uc815.<\/strong> \ud558\ub098\ub77c\ub3c4 reject \ub418\uba74 \uc989\uc2dc \uc804\uccb4\uac00 reject \u2014 \ub098\uba38\uc9c0 \uacb0\uacfc\ub97c \ubc1b\uc744 \uc218 \uc5c6\uc74c. \uc77c\ubd80 \uc2e4\ud328\ud574\ub3c4 \ub098\uba38\uc9c0\ub97c \ubcf4\uace0 \uc2f6\uc73c\uba74 <code>Promise.allSettled<\/code> \uc0ac\uc6a9.<\/p>\n<\/div>\n\n<h2>Promise.allSettled \u00b7 race \u00b7 any<\/h2>\n\n<pre><code>\/\/ allSettled \u2014 \ubaa8\ub450 \ub05d\ub0a0 \ub54c\uae4c\uc9c0\nconst results = await Promise.allSettled([p1, p2, p3]);\nfor (const r of results) {\n  if (r.status === \"fulfilled\") console.log(r.value);\n  else console.error(r.reason);\n}\n\n\/\/ race \u2014 \uac00\uc7a5 \uba3c\uc800 settle (\uc131\uacf5\/\uc2e4\ud328 \ubb34\uad00)\nconst winner = await Promise.race([\n  fetch(\"\/data\"),\n  new Promise((_, reject) =&gt; setTimeout(() =&gt; reject(new Error(\"Timeout\")), 5000)),\n]);\n\n\/\/ any (ES2021) \u2014 \uac00\uc7a5 \uba3c\uc800 \uc131\uacf5 (\uc2e4\ud328\ub294 \ubb34\uc2dc)\nconst fastest = await Promise.any([\n  fetch(\"https:\/\/mirror1.example.com\"),\n  fetch(\"https:\/\/mirror2.example.com\"),\n  fetch(\"https:\/\/mirror3.example.com\"),\n]);\n\/\/ \ubaa8\ub450 \uc2e4\ud328\ud558\uba74 AggregateError<\/code><\/pre>\n\n<h2>\uc5d0\ub7ec \ucc98\ub9ac \u2014 try\/catch + .catch<\/h2>\n\n<pre><code>\/\/ async \uc548\uc5d0\uc11c\ub294 try\/catch\nasync function load() {\n  try {\n    const data = await fetchData();\n    return data;\n  } catch (err) {\n    console.error(\"\ub85c\ub4dc \uc2e4\ud328:\", err);\n    return null;\n  }\n}\n\n\/\/ Promise.then \uccb4\uc778\uc774\uba74 .catch\nfetchData()\n  .then(data =&gt; processData(data))\n  .catch(err =&gt; console.error(err));\n\n\/\/ \ub458 \ub2e4 \uc0ac\uc6a9 (await \uacb0\uacfc\ub97c then \ucc98\ub7fc)\nconst data = await fetchData().catch(err =&gt; null);   \/\/ \uc2e4\ud328 \uc2dc null<\/code><\/pre>\n\n<h2>\ub9c8\uc774\ud06c\ub85c\ud0dc\uc2a4\ud06c \uc6b0\uc120\uc21c\uc704 (15\ud3b8 \ub2e4\uc2dc)<\/h2>\n\n<pre><code>console.log(\"1\");\n\nsetTimeout(() =&gt; console.log(\"2\"), 0);          \/\/ \ub9e4\ud06c\ub85c\n\nPromise.resolve().then(() =&gt; console.log(\"3\"));   \/\/ \ub9c8\uc774\ud06c\ub85c\n\nconsole.log(\"4\");\n\n\/\/ \ucd9c\ub825: 1, 4, 3, 2  \u2190 \ub3d9\uae30 \ub2e4 \ub05d\ub098\uace0, \ub9c8\uc774\ud06c\ub85c(3) \u2192 \ub9e4\ud06c\ub85c(2)<\/code><\/pre>\n\n<h2>async + map \uc758 \ud568\uc815<\/h2>\n\n<pre><code>\/\/ \u274c async + map \u2014 \uacb0\uacfc\ub294 Promise \ubc30\uc5f4\nconst results = users.map(async (u) =&gt; {\n  return await loadProfile(u.id);\n});\nconsole.log(results);   \/\/ [Promise, Promise, ...]  \u2190 !!\n\n\/\/ \u2705 Promise.all \ub85c \ud480\uae30\nconst profiles = await Promise.all(users.map(u =&gt; loadProfile(u.id)));\n\/\/                                          ^ Promise \ubc30\uc5f4\uc744 \ud55c \ubc88\uc5d0 await\n\n\/\/ \uc21c\uc11c \ubcf4\uc7a5\ud558\uba74\uc11c \uc21c\ucc28\ub85c\nconst profiles = [];\nfor (const u of users) {\n  profiles.push(await loadProfile(u.id));\n}<\/code><\/pre>\n\n<div class=\"databox\">\n  <p><strong>\ub9e4\ud551 \ud328\ud134 \ud55c \ud45c.<\/strong> \u2460 \ubcd1\ub82c OK \u00b7 \uacb0\uacfc \ubc30\uc5f4 \u2192 <code>Promise.all(arr.map(async ...))<\/code>. \u2461 \uc21c\ucc28 (\uc55e \uacb0\uacfc\ub85c \ub2e4\uc74c \uacb0\uc815) \u2192 <code>for of + await<\/code>. \u2462 N \uac1c \ub3d9\uc2dc \uc81c\ud55c (rate limiting) \u2192 <code>p-limit<\/code> \uac19\uc740 \ub77c\uc774\ube0c\ub7ec\ub9ac.<\/p>\n<\/div>\n\n<h2>top-level await (ES2022, ESM \ud55c\uc815)<\/h2>\n\n<pre><code>\/\/ \ubaa8\ub4c8 \ucd5c\uc0c1\uc704\uc5d0\uc11c \uc9c1\uc811 await \u2014 ESM \uc5d0\uc11c\ub9cc\n\/\/ app.mjs\nconst config = await loadConfig();\nconst db = await connect(config.dbUrl);\n\nexport { db };<\/code><\/pre>\n\n<p>npm \ub77c\uc774\ube0c\ub7ec\ub9ac\ub294 \uac00\uae09\uc801 \uc0ac\uc6a9 \uc790\uc81c \u2014 top-level await \uac00 \ubaa8\ub4c8 \ub85c\ub529 \uc2dc\uac04\uc5d0 \uc601\ud5a5\uc744 \uc90d\ub2c8\ub2e4. \uc571 \uc9c4\uc785\uc810\u00b7CLI \uc5d0\uc11c\ub294 OK.<\/p>\n\n<h2>\uc2e4\uc804 \ud328\ud134 \u2014 \uc7ac\uc2dc\ub3c4 + \ud0c0\uc784\uc544\uc6c3<\/h2>\n\n<pre><code>async function withRetry&lt;T&gt;(fn, max = 3, delay = 1000) {\n  for (let i = 0; i &lt; max; i++) {\n    try {\n      return await fn();\n    } catch (err) {\n      if (i === max - 1) throw err;\n      await new Promise(r =&gt; setTimeout(r, delay * 2 ** i));   \/\/ \uc9c0\uc218 \ubc31\uc624\ud504\n    }\n  }\n}\n\nasync function withTimeout(promise, ms) {\n  const t = new Promise((_, reject) =&gt;\n    setTimeout(() =&gt; reject(new Error(\"Timeout\")), ms)\n  );\n  return Promise.race([promise, t]);\n}\n\n\/\/ \uc0ac\uc6a9\nconst data = await withTimeout(\n  withRetry(() =&gt; fetch(\"\/api\").then(r =&gt; r.json())),\n  10000\n);<\/code><\/pre>\n\n<h2>\uc548\ud2f0\ud328\ud134 5\uac00\uc9c0<\/h2>\n\n<div class=\"warnbox\">\n  <p><strong>1. async \ud568\uc218\uc5d0 await \uc548 \uc500.<\/strong> &#8220;\uc65c async \uc778\uc9c0&#8221; \ubaa8\ub984. \ub3d9\uae30 \ud568\uc218\ub85c \ucda9\ubd84\ud558\uba74 \uadf8\ub807\uac8c.<\/p>\n  <p><strong>2. await \uacb0\uacfc\ub97c then \uc73c\ub85c.<\/strong> \ub458 \uc11e\uc73c\uba74 \uac00\ub3c5\uc131 \ud3ed\ub77d. \ud55c \ud568\uc218 \uc548\uc5d0\uc11c\ub294 \ud558\ub098\ub9cc.<\/p>\n  <p><strong>3. forEach + async.<\/strong> forEach \ub294 Promise \ub97c \ubb34\uc2dc. for&#8230;of + await \ub610\ub294 Promise.all + map.<\/p>\n  <p><strong>4. catch \ube60\ub728\ub9bc.<\/strong> \ucc98\ub9ac \uc548 \ub41c reject \ub294 \ucf58\uc194 \uacbd\uace0\ub9cc \u2014 \uc0ac\uc6a9\uc790\uc5d4 \ubb34\uc74c.<\/p>\n  <p><strong>5. fetch \uacb0\uacfc .ok \uac80\uc0ac \uc548 \ud568.<\/strong> fetch \ub294 4xx\/5xx \uc751\ub2f5\uc5d0 reject \uc548 \ud568. <code>if (!res.ok) throw ...<\/code> \uc9c1\uc811.<\/p>\n<\/div>\n\n<div class=\"cta\">\n  <h3>17\ud3b8 \u2014 fetch API \u00b7 API \ud638\ucd9c<\/h3>\n  <p>fetch \uc758 \ubaa8\ub4e0 \ubaa8\uc591, headers, POST\/JSON, AbortController, CORS \ud55c \uc904.<\/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: 15\ud3b8 \ube44\ub3d9\uae30 \uc785\ubb38 \u00b7 \ud604\uc7ac: <strong>16\ud3b8 (\uc911\uae09)<\/strong> \u00b7 \ub2e4\uc74c \u2192 17\ud3b8 fetch \u00b7 \uc9c4\ud589: <strong>16\/26<\/strong>\n<\/div>\n\n<\/article>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Promise\u00b7async\/await\u00b7Promise.all \ub4f1 \ube44\ub3d9\uae30 \ud45c\uc900. 26\ud3b8 \uad50\uc7ac 16\ud3b8.<\/p>\n","protected":false},"author":1,"featured_media":542,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-348","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\/348","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=348"}],"version-history":[{"count":3,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/348\/revisions"}],"predecessor-version":[{"id":568,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/348\/revisions\/568"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media\/542"}],"wp:attachment":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media?parent=348"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/categories?post=348"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/tags?post=348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}