{"id":891,"date":"2026-05-20T09:52:30","date_gmt":"2026-05-20T01:52:30","guid":{"rendered":"https:\/\/junai.ai\/blog\/nextjs-middleware-13\/"},"modified":"2026-05-20T09:52:30","modified_gmt":"2026-05-20T01:52:30","slug":"nextjs-middleware-13","status":"publish","type":"post","link":"https:\/\/junai.ai\/blog\/nextjs-middleware-13\/","title":{"rendered":"Middleware \u2014 \uc694\uccad \uac00\ub85c\ucc44\uae30\u00b7\ub9ac\ub514\ub809\ud2b8\u00b7\uc778\uc99d"},"content":{"rendered":"\n<!-- WordPress REST API \ubc1c\ud589\uc6a9 HTML (\uc790\ub3d9 \uc0dd\uc131) -->\n<!-- WP-FEATURED-MEDIA-ID: 837 -->\n<div style=\"max-width:800px;margin:0 auto;\">\n<style>\n:root {--color-primary:#4f46e5;--color-accent:#6366f1;--color-bg:#fafbfc;--color-bg-card:#fff;--color-text:#1a202c;--color-text-muted:#64748b;--hero-start:#1e1b4b;--hero-end:#4338ca;}\n*{box-sizing:border-box;}\n.container{max-width:760px;margin:0 auto;padding:0 24px 80px;}\n.hero{background:linear-gradient(135deg,var(--hero-start) 0%,var(--hero-end) 100%);color:#fff;padding:80px 24px 60px;text-align:center;}\n.hero .eyebrow{display:inline-block;font-size:14px;color:#a78bfa;font-weight:700;letter-spacing:0.1em;text-transform:uppercase;margin-bottom:14px;}\n.hero h1{font-size:36px;margin:0 0 16px;line-height:1.3;font-weight:800;}\n.hero p{color:#c7d2fe;font-size:18px;max-width:640px;margin:0 auto;line-height:1.6;}\n.hero img{width:100%;max-width:640px;height:auto;margin:32px auto 0;border-radius:10px;display:block;}\narticle{padding-top:48px;}\narticle h2{font-size:26px;margin:56px 0 20px;padding-left:14px;border-left:5px solid var(--color-accent);line-height:1.4;}\narticle h3{font-size:19px;margin:32px 0 12px;color:var(--color-primary);}\narticle p{margin:16px 0;}\narticle strong{color:var(--color-primary);font-weight:700;}\narticle code{background:#eef2ff;padding:2px 8px;border-radius:4px;font-family:'SF Mono',Menlo,Consolas,monospace;font-size:14px;color:#4338ca;}\n.databox{background:#eef2ff;border-left:4px solid var(--color-accent);padding:16px 20px;margin:24px 0;border-radius:0 8px 8px 0;font-size:15.5px;}\n.databox strong{color:var(--color-primary);}\n.warnbox{background:linear-gradient(135deg,#fef3c7 0%,#fde68a 100%);padding:16px 20px;margin:24px 0;border-radius:8px;font-size:15.5px;}\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@media (max-width:560px){.tablewrap table,.tablewrap thead,.tablewrap tbody,.tablewrap tr,.tablewrap th,.tablewrap td{display:block;width:auto;}.tablewrap thead{display:none;}.tablewrap tr{margin:0 0 14px;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;}.tablewrap td{border:none;border-bottom:1px solid #f1f5f9;padding:9px 14px;}.tablewrap td:first-child{background:#f1f5f9;font-weight:800;font-size:15.5px;}.tablewrap td:last-child{border-bottom:none;}.tablewrap td[data-label]::before{content:attr(data-label) \" \u2014 \";font-weight:700;color:var(--color-primary);}}\n.code-block{background:#0f172a;color:#e2e8f0;padding:16px 20px;border-radius:8px;font-family:'SF Mono',Menlo,Consolas,monospace;font-size:14px;line-height:1.6;margin:20px 0;overflow-x:auto;white-space:pre;}\n.cta{background:linear-gradient(135deg,#4f46e5 0%,#6366f1 100%);color:#fff;padding:28px 24px;border-radius:12px;margin:48px 0 0;text-align:center;}\n.cta h3{color:#fff;margin:0 0 8px;font-size:20px;}\n.cta p{color:#c7d2fe;margin:0;font-size:15.5px;}\n.footer-nav{margin-top:32px;padding-top:20px;border-top:1px solid #e2e8f0;font-size:14px;color:var(--color-text-muted);}\n.footer-nav a{color:var(--color-primary);text-decoration:none;}\n@media (max-width:480px){.hero h1{font-size:26px;}.hero p{font-size:16px;}article h2{font-size:21px;}article h3{font-size:17px;}body{font-size:16px;}}\n<\/style>\n<section class=\"hero\">\n  <span class=\"eyebrow\">Next.js \uad50\uc7ac \u00b7 13\ud3b8 \u00b7 Middleware<\/span>\n  <h1>Middleware \u2014 \uc694\uccad \uac00\ub85c\ucc44\uae30\u00b7\ub9ac\ub514\ub809\ud2b8\u00b7\uc778\uc99d<\/h1>\n  <p>\ubaa8\ub4e0 \uc694\uccad\uc774 \ud398\uc774\uc9c0\uc5d0 \ub2ff\uae30 \uc804 \ud55c \ubc88 \uac70\uccd0\uac00\ub294 \uad00\ubb38. \uc778\uc99d\u00b7\uad6d\uac00\ubcc4 \ub9ac\ub514\ub809\ud2b8\u00b7\ub85c\uae45.<\/p>\n  <img decoding=\"async\" src=\"https:\/\/junai.ai\/blog\/wp-content\/uploads\/2026\/05\/hero-5-70.jpg\" alt=\"\uc694\uccad\uc774 \ubbf8\ub4e4\uc6e8\uc5b4 \uac8c\uc774\ud2b8\ub97c \ud1b5\uacfc\ud574 \ud398\uc774\uc9c0\ub85c \uac00\ub294 \ucee8\uc149 \uc77c\ub7ec\uc2a4\ud2b8\">\n<\/section>\n\n<div class=\"container\">\n<article>\n\n<p>&#8220;\ub85c\uadf8\uc778 \uc548 \ud55c \uc0ac\uc6a9\uc790\uac00 <code>\/dashboard<\/code> \ub4e4\uc5b4\uc624\uba74 <code>\/login<\/code> \uc73c\ub85c \ubcf4\ub0b4\ub77c&#8221; \uac19\uc740 \uc77c\uc744 \ud398\uc774\uc9c0\ub9c8\ub2e4 \uc801\uc73c\uba74 \uace7 \uc9c0\uc625\uc774\ub2e4. 50 \ud398\uc774\uc9c0\uc5d0 \uac19\uc740 \uc778\uc99d \uccb4\ud06c \ucf54\ub4dc 50\ubc88.<\/p>\n\n<p>Next.js \uc758 \ub2f5\uc774 <strong>Middleware<\/strong>. \ud504\ub85c\uc81d\ud2b8 \ub8e8\ud2b8\uc5d0 <code>middleware.ts<\/code> \ud55c \ud30c\uc77c \u2014 \ubaa8\ub4e0 \uc694\uccad\uc774 \ud398\uc774\uc9c0\u00b7API \ud578\ub4e4\ub7ec\uc5d0 \ub3c4\ub2ec\ud558\uae30 <strong>\uc804\uc5d0<\/strong> \uac70\uccd0\uac04\ub2e4. \uc778\uc99d\u00b7\ub9ac\ub514\ub809\ud2b8\u00b7\ud5e4\ub354 \uc870\uc791\u00b7\ub85c\uae45\uc744 \ud55c \uacf3\uc5d0\uc11c.<\/p>\n\n<h2>1. \uac00\uc7a5 \ub2e8\uc21c\ud55c Middleware<\/h2>\n\n<p><code>middleware.ts<\/code> \ub97c <strong>\ud504\ub85c\uc81d\ud2b8 \ub8e8\ud2b8<\/strong>\uc5d0 \ub454\ub2e4 (<code>app\/<\/code> \uc548 \uc544\ub2d8!).<\/p>\n\n<div class=\"code-block\">\/\/ middleware.ts (\ud504\ub85c\uc81d\ud2b8 \ub8e8\ud2b8)\nimport { NextResponse } from &#8216;next\/server&#8217;;\nimport type { NextRequest } from &#8216;next\/server&#8217;;\n\nexport function middleware(req: NextRequest) {\n  console.log(`[mw] ${req.method} ${req.nextUrl.pathname}`);\n  return NextResponse.next();   \/\/ \ud1b5\uacfc \u2014 \ud398\uc774\uc9c0\ub85c \uc9c4\ud589\n}<\/div>\n\n<p>\uc774 \ud55c \ud30c\uc77c\ub85c \ubaa8\ub4e0 \uc694\uccad\uc774 \ucf58\uc194\uc5d0 \uae30\ub85d\ub41c\ub2e4. <code>NextResponse.next()<\/code> \uac00 &#8220;\ud1b5\uacfc&#8221; \uc2e0\ud638. \ub2e4\ub978 \ubc18\ud658\uac12\uc740 \ud750\ub984\uc744 \ubc14\uafbc\ub2e4.<\/p>\n\n<h2>2. \ub9ac\ub514\ub809\ud2b8 \u2014 \uc870\uac74\ubd80 \ubd84\uae30<\/h2>\n\n<p>\ub85c\uadf8\uc778 \uc548 \ub41c \uc0ac\uc6a9\uc790\ub97c \ucc28\ub2e8\ud558\ub294 \uac00\uc7a5 \ud754\ud55c \ud328\ud134.<\/p>\n\n<div class=\"code-block\">\/\/ middleware.ts\nimport { NextResponse, type NextRequest } from &#8216;next\/server&#8217;;\n\nexport function middleware(req: NextRequest) {\n  const token = req.cookies.get(&#8216;session&#8217;)?.value;\n  const isProtected = req.nextUrl.pathname.startsWith(&#8216;\/dashboard&#8217;);\n\n  if (isProtected &#038;&#038; !token) {\n    const url = req.nextUrl.clone();\n    url.pathname = &#8216;\/login&#8217;;\n    url.searchParams.set(&#8216;returnTo&#8217;, req.nextUrl.pathname);\n    return NextResponse.redirect(url);\n  }\n\n  return NextResponse.next();\n}<\/div>\n\n<p><code>req.cookies.get<\/code> \ub85c \uc138\uc158 \ucfe0\ud0a4 \ud655\uc778, \uc5c6\uc73c\uba74 <code>NextResponse.redirect<\/code>. URL \uac1d\uccb4\ub294 <code>req.nextUrl.clone()<\/code> \ub85c \ubcf5\uc81c\ud574 \uc548\uc804\ud558\uac8c \uc218\uc815. <code>returnTo<\/code> \ucffc\ub9ac\ub85c \uc6d0\ub798 \uac00\ub824\ub358 \uacbd\ub85c \uae30\uc5b5.<\/p>\n\n<h2>3. matcher \u2014 \uc5b4\ub290 \uacbd\ub85c\uc5d0\ub9cc \uc801\uc6a9\ud560\uc9c0<\/h2>\n\n<p>\uc704 \ubbf8\ub4e4\uc6e8\uc5b4\ub294 <strong>\ubaa8\ub4e0 \uc694\uccad<\/strong>\uc5d0 \uc2e4\ud589\ub3fc \uc815\uc801 \ud30c\uc77c\u00b7\uc774\ubbf8\uc9c0\uae4c\uc9c0 \uac70\uce5c\ub2e4. \ube44\ud6a8\uc728. <code>matcher<\/code> \ub85c \ud2b9\uc815 \uacbd\ub85c\ub9cc \ud0c0\uac8c \ud55c\ub2e4.<\/p>\n\n<div class=\"code-block\">\/\/ middleware.ts (\uc774\uc5b4\uc11c)\nexport const config = {\n  matcher: [\n    &#8216;\/dashboard\/:path*&#8217;,\n    &#8216;\/api\/admin\/:path*&#8217;,\n    \/*\n     * \ubaa8\ub4e0 \uacbd\ub85c \ub9e4\uce6d, \ub2e8 \uc544\ub798\ub294 \uc81c\uc678:\n     * &#8211; _next\/static (\uc815\uc801 \ud30c\uc77c)\n     * &#8211; _next\/image (\uc774\ubbf8\uc9c0 \ucd5c\uc801\ud654)\n     * &#8211; favicon.ico \u00b7 public \ud3f4\ub354\n     *\/\n    {\n      source: &#8216;\/((?!_next\/static|_next\/image|favicon.ico|public).*)&#8217;,\n    },\n  ],\n};<\/div>\n\n<p>\ub450 \uac00\uc9c0 \ud615\ud0dc \u2014 <strong>\ub2e8\uc21c \ud328\ud134<\/strong>(<code>\/dashboard\/:path*<\/code>) \ub610\ub294 <strong>\uac1d\uccb4 \ud615\ud0dc<\/strong>(\ubd80\uc815 lookahead \uc815\uaddc\uc2dd). \uc815\uaddc\uc2dd\uc774 \uac15\ub825\ud558\uc9c0\ub9cc \uac00\ub3c5\uc131 \ub5a8\uc5b4\uc9c0\ub2c8, \ubcf4\ud638 \uacbd\ub85c\ub9cc \uba85\uc2dc\uc801\uc73c\ub85c \ub098\uc5f4\ud558\ub294 \uac8c \uc720\uc9c0\ubcf4\uc218\uc5d0 \uc88b\ub2e4.<\/p>\n\n<div class=\"databox\">\n<strong>matcher \uad6c\ubb38<\/strong> \u2014 <code>:path*<\/code> (0\uac1c \uc774\uc0c1 \uc138\uadf8\uba3c\ud2b8), <code>:slug<\/code> (\uc815\ud655\ud788 \ud55c \uc138\uadf8\uba3c\ud2b8). path-to-regexp \uae30\ubc18\uc774\ub77c Express \uc640 \uac19\uc740 \ubb38\ubc95. \uc815\ud655\ud788 \uc54c\uace0 \uc2f6\uc73c\uba74 path-to-regexp \ubb38\uc11c\uac00 \ucc38\uace0.\n<\/div>\n\n<h2>4. \ud5e4\ub354\uc640 \ucfe0\ud0a4 \uc870\uc791<\/h2>\n\n<p>\uc751\ub2f5 \ud5e4\ub354 \ucd94\uac00\u00b7\ucfe0\ud0a4 \uc124\uc815\ub3c4 \ubbf8\ub4e4\uc6e8\uc5b4\uc5d0\uc11c.<\/p>\n\n<div class=\"code-block\">export function middleware(req: NextRequest) {\n  const res = NextResponse.next();\n\n  \/\/ \uc751\ub2f5 \ud5e4\ub354 \ucd94\uac00\n  res.headers.set(&#8216;X-Country&#8217;, req.geo?.country ?? &#8216;KR&#8217;);\n  res.headers.set(&#8216;X-Request-Id&#8217;, crypto.randomUUID());\n\n  \/\/ \ucfe0\ud0a4 \uc124\uc815\n  res.cookies.set(&#8216;lastVisit&#8217;, new Date().toISOString(), {\n    maxAge: 60 * 60 * 24 * 30,\n    httpOnly: true,\n    secure: true,\n  });\n\n  return res;\n}<\/div>\n\n<p>\ud2b9\ud788 <code>req.geo<\/code>(Vercel \ud658\uacbd\uc5d0\uc11c IP \uae30\ubc18 \uad6d\uac00\u00b7\ub3c4\uc2dc \uc790\ub3d9 \uac10\uc9c0) \uc640 \uacb0\ud569\ud55c <strong>\uc9c0\uc5ed\ubcc4 \ub9ac\ub514\ub809\ud2b8<\/strong>\uac00 \uc778\uae30 \ud328\ud134 \u2014 <code>\/ko<\/code>\u00b7<code>\/en<\/code> \uc790\ub3d9 \ubd84\uae30, \ud55c\uad6d \ud2b8\ub798\ud53d\ub9cc \ub2e4\ub978 \uacb0\uc81c \ud398\uc774\uc9c0 \ub4f1.<\/p>\n\n<h2>5. Edge Runtime \uc758 \uc81c\uc57d<\/h2>\n\n<p>Middleware \ub294 \uae30\ubcf8\uc801\uc73c\ub85c <strong>Edge Runtime<\/strong> \uc5d0\uc11c \uc2e4\ud589. Node \uac00 \uc544\ub2c8\ub77c V8 isolates \ud658\uacbd.<\/p>\n\n<div class=\"warnbox\">\n<strong>\ubabb \uc4f0\ub294 \uac83\ub4e4<\/strong> \u2014 Node API (<code>fs<\/code>\u00b7<code>net<\/code>\u00b7<code>http<\/code>\u00b7<code>crypto<\/code> \ub300\ubd80\ubd84) \uc0ac\uc6a9 \ubd88\uac00. npm \ud328\ud0a4\uc9c0 \uc911 Node \uc758\uc874 \ud070 \uac83\ub4e4\uc740 \uc548 \ub3cc\uc544\uac04\ub2e4. <strong>\uac00\ub2a5\ud55c \uac83<\/strong> \u2014 fetch, Web Crypto, URL, Headers, Request, Response, cookies. JWT \uac80\uc99d\uc740 <code>jose<\/code> \uac19\uc740 Edge \ud638\ud658 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub85c.\n<\/div>\n\n<p>Edge Runtime \uc758 \uc774\uc720\ub294 <strong>\uc18d\ub3c4<\/strong>. \uc0ac\uc6a9\uc790\uc640 \uac00\uae4c\uc6b4 CDN \uc5e3\uc9c0\uc5d0\uc11c \uc2e4\ud589\ub3fc 50ms \uc774\ub0b4 \uc751\ub2f5. \uc778\uc99d \uac00\ub4dc\u00b7\uad6d\uac00 \ub77c\uc6b0\ud305 \uac19\uc740 \ube60\ub974\uac8c \ub05d\ub098\uc57c \ud558\ub294 \uc77c\uc5d0 \ucd5c\uc801. \ubb34\uac70\uc6b4 DB \ud638\ucd9c\uc774 \ud544\uc694\ud558\uba74 \ubbf8\ub4e4\uc6e8\uc5b4 \uc548\uc5d0\uc11c \ud558\uc9c0 \ub9d0\uace0 \ud398\uc774\uc9c0\uc5d0\uc11c Server Component \ub85c.<\/p>\n\n<p>\uaf2d Node \uac00 \ud544\uc694\ud558\uba74 Next 15.2 \ubd80\ud130 <code>export const runtime = 'nodejs'<\/code> \uc9c0\uc815 \uac00\ub2a5. \ub2e8 \uc5e3\uc9c0 \uc18d\ub3c4\ub294 \ud3ec\uae30.<\/p>\n\n<h3>\ud754\ud55c \ud328\ud134 4\uac00\uc9c0<\/h3>\n\n<div class=\"tablewrap\">\n<table>\n<thead><tr><th>\ud328\ud134<\/th><th>\uad6c\ud604<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\uc778\uc99d \uac00\ub4dc<\/td><td data-label=\"\uad6c\ud604\">\ucfe0\ud0a4 \ud655\uc778 \u2192 <code>NextResponse.redirect('\/login')<\/code><\/td><\/tr>\n<tr><td>A\/B \ud14c\uc2a4\ud2b8<\/td><td data-label=\"\uad6c\ud604\">\ucfe0\ud0a4\ub85c variant \uacb0\uc815 \u2192 <code>NextResponse.rewrite<\/code><\/td><\/tr>\n<tr><td>\uc9c0\uc5ed\ubcc4 \ub9ac\ub514\ub809\ud2b8<\/td><td data-label=\"\uad6c\ud604\"><code>req.geo.country<\/code> \uae30\ubc18 \ubd84\uae30<\/td><\/tr>\n<tr><td>\ubd07 \ucc28\ub2e8<\/td><td data-label=\"\uad6c\ud604\"><code>user-agent<\/code> \uac80\uc0ac \u2192 403 \uc751\ub2f5<\/td><\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n\n<p><strong>rewrite vs redirect<\/strong> \u2014 redirect \ub294 URL \ubc14\uafd4\uc11c \ud074\ub77c\uc774\uc5b8\ud2b8\uac00 \ub2e4\uc2dc \uc694\uccad, rewrite \ub294 URL \uc740 \uadf8\ub300\ub85c \uc720\uc9c0\ud558\uba74\uc11c \ub0b4\ubd80\uc801\uc73c\ub85c \ub2e4\ub978 \ud398\uc774\uc9c0 \ub80c\ub354. A\/B \ud14c\uc2a4\ud2b8\ub294 rewrite \uac00 \uc801\ud569 (\uc0ac\uc6a9\uc790\ub294 URL \ubcc0\ud654 \ubaa8\ub984).<\/p>\n\n<h3>\uc694\uc57d \u2014 13\ud3b8 \uc88c\ud45c<\/h3>\n\n<p>\uc5ec\uae30\uae4c\uc9c0 \uc815\ub9ac. <code>middleware.ts<\/code> \ud55c \ud30c\uc77c\uc774 \ubaa8\ub4e0 \uc694\uccad\uc758 \uad00\ubb38. <code>NextResponse.next\/redirect\/rewrite\/json<\/code> \uc73c\ub85c \ud750\ub984 \uacb0\uc815. <code>matcher<\/code> \ub85c \uc801\uc6a9 \uacbd\ub85c \uc881\ud788\uae30 (\uc131\ub2a5 + \uba85\ud655\uc131). \ud5e4\ub354\u00b7\ucfe0\ud0a4 \uc870\uc791\uc740 \uc751\ub2f5 \uac1d\uccb4\uc5d0 \uc9c1\uc811. Edge Runtime \uc81c\uc57d (Node API \ubabb \uc500) \uc740 \ube60\ub978 \uc751\ub2f5\uc744 \uc704\ud55c \ud2b8\ub808\uc774\ub4dc\uc624\ud504. \uc778\uc99d \uac00\ub4dc\u00b7A\/B\u00b7\uc9c0\uc5ed \ub77c\uc6b0\ud305\uc774 \uc8fc\ub41c \uc0ac\uc6a9\ucc98. \ub2e4\uc74c \ud3b8\uc5d0\uc11c <strong>Route Handlers<\/strong> \ub85c API \uc5d4\ub4dc\ud3ec\uc778\ud2b8\ub97c \ub9cc\ub4e0\ub2e4.<\/p>\n\n<div class=\"cta\">\n<h3>\ub2e4\uc74c \ud3b8 \uc608\uace0 \u2014 Route Handlers (API)<\/h3>\n<p>app\/api \ud3f4\ub354\ub85c \ub9cc\ub4dc\ub294 RESTful \uc5d4\ub4dc\ud3ec\uc778\ud2b8. 14\ud3b8.<\/p>\n<\/div>\n\n<div class=\"footer-nav\">\n\uc2dc\ub9ac\uc988 \u00b7 <a href=\"https:\/\/junai.ai\/blog\/category\/nextjs\/\">\uc27d\uac8c \ubc30\uc6b0\ub294 Next.js<\/a> \u00b7 \uc774\uc804: <a href=\"https:\/\/junai.ai\/blog\/nextjs-suspense-streaming-12\/\">Ch.12 Suspense\u00b7Streaming<\/a>\n<\/div>\n\n<\/article>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Next.js Middleware \u2014 \uc694\uccad \uac00\ub85c\ucc44 \ub9ac\ub514\ub809\ud2b8\u00b7\uc778\uc99d \uac00\ub4dc\u00b7\ud5e4\ub354 \uc870\uc791. matcher\u00b7Edge Runtime. \uad50\uc7ac 13\ud3b8.<\/p>\n","protected":false},"author":1,"featured_media":837,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[],"class_list":["post-891","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nextjs"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/891","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=891"}],"version-history":[{"count":0,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/891\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media\/837"}],"wp:attachment":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media?parent=891"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/categories?post=891"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/tags?post=891"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}