{"id":315,"date":"2025-09-03T16:56:05","date_gmt":"2025-09-03T07:56:05","guid":{"rendered":"https:\/\/i-third.org\/blog\/?p=315"},"modified":"2025-09-03T16:56:05","modified_gmt":"2025-09-03T07:56:05","slug":"cors%e3%81%a8%e3%81%af%e4%bd%95%e3%81%8b%ef%bc%9fit%e6%a5%ad%e7%95%8c%e3%83%96%e3%83%ad%e3%82%b0%e7%b7%a8%e9%9b%86%e9%95%b7%e3%81%8c%e8%a7%a3%e8%aa%ac%e3%81%99%e3%82%8b%e5%ae%89%e5%85%a8%e3%81%aaweb","status":"publish","type":"post","link":"https:\/\/i-third.org\/blog\/?p=315","title":{"rendered":"CORS\u3068\u306f\u4f55\u304b\uff1fIT\u696d\u754c\u30d6\u30ed\u30b0\u7de8\u96c6\u9577\u304c\u89e3\u8aac\u3059\u308b\u5b89\u5168\u306aWeb\u901a\u4fe1\u306e\u57fa\u672c"},"content":{"rendered":"<div class=\"blog-post\">\n<p>\n    <strong>\u300c\u3042\u308c\u3001API\u3092\u53e9\u3044\u305f\u3089CORS\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u2026\uff1f\u300d<br \/>\n    \u3042\u306a\u305f\u306f\u4eca\u3001\u305d\u3093\u306a\u898b\u6163\u308c\u306a\u3044\u30a8\u30e9\u30fc\u306b\u76f4\u9762\u3057\u3066\u3044\u307e\u305b\u3093\u304b\uff1f<br \/>\n    \u5b9f\u306f\u3001\u305d\u308c\u306fWeb\u958b\u767a\u8005\u304c\u5fc5\u305a\u4e00\u5ea6\u306f\u906d\u9047\u3059\u308b\u300c\u3042\u308b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30eb\u30fc\u30eb\u300d\u306b\u8d77\u56e0\u3057\u3066\u3044\u307e\u3059\u3002<\/strong>\n<\/p>\n<p>\n    \u521d\u3081\u307e\u3057\u3066\u3002IT\u696d\u754c\u3067\u30d6\u30ed\u30b0\u7de8\u96c6\u9577\u3092\u52d9\u3081\u308b\u8005\u3067\u3059\u3002\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u3001Web\u30a8\u30f3\u30b8\u30cb\u30a2\u3084\u3053\u308c\u304b\u3089Web\u958b\u767a\u3092\u59cb\u3081\u308b\u65b9\u304c\u3001\u6c7a\u3057\u3066\u907f\u3051\u3066\u901a\u308c\u306a\u3044<strong>CORS\uff08Cross-Origin Resource Sharing\uff09<\/strong>\u306b\u3064\u3044\u3066\u3001\u305d\u306e\u672c\u8cea\u304b\u3089\u89e3\u6c7a\u7b56\u307e\u3067\u3092\u5fb9\u5e95\u89e3\u8aac\u3057\u307e\u3059\u3002\n<\/p>\n<p>\n    \u3053\u306e\u8a18\u4e8b\u3092\u6700\u5f8c\u307e\u3067\u8aad\u3081\u3070\u3001CORS\u304c\u306a\u305c\u5b58\u5728\u3059\u308b\u306e\u304b\u3001\u305d\u3057\u3066\u3069\u306e\u3088\u3046\u306b\u5bfe\u5fdc\u3059\u308c\u3070\u826f\u3044\u306e\u304b\u304c\u660e\u78ba\u306b\u7406\u89e3\u3067\u304d\u307e\u3059\u3002\u7169\u308f\u3057\u3044\u30a8\u30e9\u30fc\u306b\u60a9\u307e\u3055\u308c\u308b\u3053\u3068\u306a\u304f\u3001\u5b89\u5168\u306aWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u3092\u9032\u3081\u308b\u305f\u3081\u306e\u77e5\u8b58\u3092\u3001\u305c\u3072\u624b\u306b\u5165\u308c\u3066\u304f\u3060\u3055\u3044\u3002\n<\/p>\n<hr>\n<h2>\u76ee\u6b21<\/h2>\n<ul>\n<li><a href=\"#section-1\">CORS\u3068\u306f\u4f55\u304b\uff1f\u307e\u305a\u306f\u300c\u540c\u4e00\u30aa\u30ea\u30b8\u30f3\u30dd\u30ea\u30b7\u30fc\u300d\u3092\u7406\u89e3\u3059\u308b<\/a><\/li>\n<li><a href=\"#section-2\">\u306a\u305cCORS\u304c\u5fc5\u8981\u306a\u306e\u304b\uff1f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4e0a\u306e\u91cd\u8981\u6027<\/a><\/li>\n<li><a href=\"#section-3\">CORS\u30a8\u30e9\u30fc\u3092\u89e3\u6c7a\u3059\u308b\u5177\u4f53\u7684\u306a\u624b\u9806\u3068\u30d8\u30c3\u30c0\u30fc\u8a2d\u5b9a<\/a><\/li>\n<li><a href=\"#section-4\">\u5b9f\u8df5\u4f8b\uff1aNode.js\uff08Express\uff09\u3067CORS\u3092\u6709\u52b9\u306b\u3059\u308b\u65b9\u6cd5<\/a><\/li>\n<li><a href=\"#section-5\">\u307e\u3068\u3081\uff1aCORS\u3092\u7406\u89e3\u3057\u3066\u5b89\u5168\u306aWeb\u958b\u767a\u3092<\/a><\/li>\n<li><a href=\"#section-6\">\u95a2\u9023\u8a18\u4e8b<\/a><\/li>\n<\/ul>\n<hr>\n<h2 id=\"section-1\">CORS\u3068\u306f\u4f55\u304b\uff1f\u307e\u305a\u306f\u300c\u540c\u4e00\u30aa\u30ea\u30b8\u30f3\u30dd\u30ea\u30b7\u30fc\u300d\u3092\u7406\u89e3\u3059\u308b<\/h2>\n<p>\n    CORS\u3092\u7406\u89e3\u3059\u308b\u4e0a\u3067\u3001\u6700\u3082\u91cd\u8981\u306a\u524d\u63d0\u77e5\u8b58\u304c**\u300c\u540c\u4e00\u30aa\u30ea\u30b8\u30f3\u30dd\u30ea\u30b7\u30fc\uff08Same-Origin Policy\uff09\u300d**\u3067\u3059\u3002\n<\/p>\n<p>\n    \u3053\u308c\u306f\u3001Web\u30d6\u30e9\u30a6\u30b6\u306b\u6a19\u6e96\u642d\u8f09\u3055\u308c\u3066\u3044\u308b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u6a5f\u80fd\u3067\u3001**JavaScript**\u304c\u5225\u306eWeb\u30b5\u30a4\u30c8\u306b\u3042\u308b\u30ea\u30bd\u30fc\u30b9\uff08API\u3084\u30c7\u30fc\u30bf\uff09\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306e\u3092\u539f\u5247\u3068\u3057\u3066\u7981\u6b62\u3059\u308b\u30eb\u30fc\u30eb\u3067\u3059\u3002\n<\/p>\n<p>\n    \u300c\u30aa\u30ea\u30b8\u30f3\u300d\u3068\u306f\u3001\u4ee5\u4e0b\u306e3\u3064\u306e\u8981\u7d20\u306e\u7d44\u307f\u5408\u308f\u305b\u3092\u6307\u3057\u307e\u3059\u3002\n<\/p>\n<ul>\n<li><strong>\u30d7\u30ed\u30c8\u30b3\u30eb:<\/strong> https:\/\/ \u307e\u305f\u306f http:\/\/<\/li>\n<li><strong>\u30c9\u30e1\u30a4\u30f3\uff08\u30db\u30b9\u30c8\uff09:<\/strong> blog.example.com<\/li>\n<li><strong>\u30dd\u30fc\u30c8\u756a\u53f7:<\/strong> :8080 \u306a\u3069<\/li>\n<\/ul>\n<p>\n    \u3053\u306e3\u3064\u304c\u3059\u3079\u3066\u4e00\u81f4\u3057\u306a\u3051\u308c\u3070\u3001\u300c\u540c\u4e00\u30aa\u30ea\u30b8\u30f3\u300d\u3068\u306f\u898b\u306a\u3055\u308c\u307e\u305b\u3093\u3002\u4f8b\u3048\u3070\u3001<code>https:\/\/blog.example.com<\/code> \u306eWeb\u30b5\u30a4\u30c8\u304b\u3089 <code>https:\/\/api.example.com<\/code> \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u30c9\u30e1\u30a4\u30f3\u304c\u7570\u306a\u308b\u305f\u3081\u30d6\u30ed\u30c3\u30af\u3055\u308c\u307e\u3059\u3002\n<\/p>\n<hr>\n<h2 id=\"section-2\">\u306a\u305cCORS\u304c\u5fc5\u8981\u306a\u306e\u304b\uff1f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4e0a\u306e\u91cd\u8981\u6027<\/h2>\n<p>\n    \u3067\u306f\u3001\u306a\u305c\u3053\u306e\u3088\u3046\u306a\u53b3\u3057\u3044\u5236\u9650\u304c\u5fc5\u8981\u306a\u306e\u3067\u3057\u3087\u3046\u304b\uff1f\u305d\u308c\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u5b89\u5168\u3092\u5b88\u308b\u305f\u3081\u3067\u3059\u3002\n<\/p>\n<p>\n    \u3082\u3057\u540c\u4e00\u30aa\u30ea\u30b8\u30f3\u30dd\u30ea\u30b7\u30fc\u304c\u306a\u3051\u308c\u3070\u3001\u60aa\u610f\u306e\u3042\u308bWeb\u30b5\u30a4\u30c8\u306b\u57cb\u3081\u8fbc\u307e\u308c\u305fJavaScript\u304c\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u540c\u6642\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u9280\u884c\u30b5\u30a4\u30c8\u3084SNS\u306eAPI\u306b\u7121\u65ad\u3067\u30a2\u30af\u30bb\u30b9\u3057\u3001\u500b\u4eba\u60c5\u5831\u3092\u76d7\u307f\u53d6\u308b\u3068\u3044\u3063\u305f\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\n<\/p>\n<p>\n    CORS\u306f\u3001\u3053\u306e\u53b3\u683c\u306a\u30eb\u30fc\u30eb\u3092\u524d\u63d0\u3068\u3057\u3064\u3064\u3001\u300c\u7279\u5b9a\u306e\u30b5\u30a4\u30c8\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u3067\u3042\u308c\u3070\u3001\u8a31\u53ef\u3057\u307e\u3059\u3088\u300d\u3068\u3001Web\u30b5\u30fc\u30d0\u30fc\u5074\u304c**\u660e\u793a\u7684\u306b\u5ba3\u8a00**\u3059\u308b\u3053\u3068\u3067\u3001\u5fc5\u8981\u306a\u901a\u4fe1\u306e\u307f\u3092\u4f8b\u5916\u7684\u306b\u8a31\u53ef\u3059\u308b\u305f\u3081\u306e\u4ed5\u7d44\u307f\u306a\u306e\u3067\u3059\u3002\n<\/p>\n<hr>\n<h2 id=\"section-3\">CORS\u30a8\u30e9\u30fc\u3092\u89e3\u6c7a\u3059\u308b\u5177\u4f53\u7684\u306a\u624b\u9806\u3068\u30d8\u30c3\u30c0\u30fc\u8a2d\u5b9a<\/h2>\n<p>\n    \u3044\u3088\u3044\u3088\u3001CORS\u30a8\u30e9\u30fc\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u306e\u5177\u4f53\u7684\u306a\u624b\u9806\u3067\u3059\u3002CORS\u306f\u30b5\u30fc\u30d0\u30fc\u5074\u3067\u8a2d\u5b9a\u3092\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\n<\/p>\n<ol>\n<li>\n        <strong>\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u3092\u7279\u5b9a\u3059\u308b<\/strong><br \/>\n        \u30d6\u30e9\u30a6\u30b6\u306e\u958b\u767a\u8005\u30c4\u30fc\u30eb\uff08F12\uff09\u3092\u958b\u304d\u3001\u30b3\u30f3\u30bd\u30fc\u30eb\u30bf\u30d6\u3067CORS\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u300cNo &#8216;Access-Control-Allow-Origin&#8217; header is present on the requested resource.\u300d\u306e\u3088\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u3066\u3044\u308c\u3070\u3001CORS\u8a2d\u5b9a\u304c\u539f\u56e0\u3067\u3059\u3002\n    <\/li>\n<li>\n        <strong>\u30b5\u30fc\u30d0\u30fc\u5074\u306eCORS\u8a2d\u5b9a\u3092\u8ffd\u52a0\u3059\u308b<\/strong><br \/>\n        Web\u30b5\u30fc\u30d0\u30fc\u304c\u8fd4\u3059HTTP\u30ec\u30b9\u30dd\u30f3\u30b9\u30d8\u30c3\u30c0\u30fc\u306b\u3001\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong><code>Access-Control-Allow-Origin<\/code><\/strong>: \u30a2\u30af\u30bb\u30b9\u3092\u8a31\u53ef\u3059\u308b\u30aa\u30ea\u30b8\u30f3\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\n<ul>\n<li>\u7279\u5b9a\u306e\u30aa\u30ea\u30b8\u30f3\u3092\u8a31\u53ef\u3059\u308b\u5834\u5408: <code>Access-Control-Allow-Origin: https:\/\/www.your-site.com<\/code><\/li>\n<li>\u3059\u3079\u3066\u306e\u30aa\u30ea\u30b8\u30f3\u3092\u8a31\u53ef\u3059\u308b\u5834\u5408: <code>Access-Control-Allow-Origin: *<\/code>\uff08\u203b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30ea\u30b9\u30af\u3092\u7406\u89e3\u3057\u305f\u4e0a\u3067\u4f7f\u7528\uff09<\/li>\n<\/ul>\n<\/li>\n<li><strong><code>Access-Control-Allow-Methods<\/code><\/strong>: \u8a31\u53ef\u3059\u308bHTTP\u30e1\u30bd\u30c3\u30c9\uff08GET, POST, PUT, DELETE\u306a\u3069\uff09\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\n<ul>\n<li>\u4f8b: <code>Access-Control-Allow-Methods: GET, POST<\/code><\/li>\n<\/ul>\n<\/li>\n<li><strong><code>Access-Control-Allow-Headers<\/code><\/strong>: \u8a31\u53ef\u3059\u308b\u30ea\u30af\u30a8\u30b9\u30c8\u30d8\u30c3\u30c0\u30fc\uff08Content-Type, Authorization\u306a\u3069\uff09\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\n<ul>\n<li>\u4f8b: <code>Access-Control-Allow-Headers: Content-Type, Authorization<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>\n    \u3053\u308c\u3089\u306e\u8a2d\u5b9a\u3092\u30b5\u30fc\u30d0\u30fc\u5074\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3084\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u306b\u7d44\u307f\u8fbc\u3080\u3053\u3068\u3067\u3001\u30d6\u30e9\u30a6\u30b6\u304c\u30a8\u30e9\u30fc\u3092\u5410\u304b\u305a\u306b\u901a\u4fe1\u3092\u6210\u529f\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\n<\/p>\n<hr>\n<h2 id=\"section-4\">\u5b9f\u8df5\u4f8b\uff1aNode.js\uff08Express\uff09\u3067CORS\u3092\u6709\u52b9\u306b\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>\n    \u3053\u3053\u3067\u306f\u3001Node.js\u306eWeb\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af**Express**\u3092\u4f7f\u3063\u305f\u5177\u4f53\u7684\u306a\u5b9f\u88c5\u4f8b\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002\n<\/p>\n<p>\n    **\u524d\u63d0:**<br \/>\n    &#8211; \u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9: <code>http:\/\/localhost:3000<\/code><br \/>\n    &#8211; \u30d0\u30c3\u30af\u30a8\u30f3\u30c9\uff08API\uff09: <code>http:\/\/localhost:5000<\/code>\n<\/p>\n<p>\n    \u3053\u306e\u5834\u5408\u3001\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u304b\u3089\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306eAPI\u3092\u53e9\u304f\u3068\u3001\u30aa\u30ea\u30b8\u30f3\u304c\u7570\u306a\u308b\u305f\u3081CORS\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u3053\u308c\u3092\u89e3\u6c7a\u3059\u308b\u306b\u306f\u3001Express\u306e\u30b5\u30fc\u30d0\u30fc\u5074\u3067<code>cors<\/code>\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u3092\u4f7f\u7528\u3059\u308b\u306e\u304c\u4e00\u822c\u7684\u3067\u3059\u3002\n<\/p>\n<p>\n    <strong>\u30b9\u30c6\u30c3\u30d71: <code>cors<\/code>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><br \/>\n    \u30bf\u30fc\u30df\u30ca\u30eb\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\n<\/p>\n<pre><code>npm install cors<\/code><\/pre>\n<p>\n    <strong>\u30b9\u30c6\u30c3\u30d72: \u30b5\u30fc\u30d0\u30fc\u30d5\u30a1\u30a4\u30eb\u306b\u8a2d\u5b9a\u3092\u8ffd\u52a0<\/strong><br \/>\n    Express\u306e\u30e1\u30a4\u30f3\u30d5\u30a1\u30a4\u30eb\uff08\u4f8b: <code>server.js<\/code>\uff09\u306b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\n<\/p>\n<pre><code>const express = require('express');\nconst cors = require('cors'); \/\/ \u2460cors\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\n\nconst app = express();\nconst PORT = 5000;\n\n\/\/ \u2461CORS\u8a2d\u5b9a\u3092\u9069\u7528\napp.use(cors({\n    origin: 'http:\/\/localhost:3000', \/\/ \u8a31\u53ef\u3059\u308b\u30aa\u30ea\u30b8\u30f3\u3092\u6307\u5b9a\n    methods: ['GET', 'POST'],        \/\/ \u8a31\u53ef\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u3092\u6307\u5b9a\n}));\n\napp.get('\/api\/data', (req, res) => {\n    res.json({ message: 'Hello from API!' });\n});\n\napp.listen(PORT, () => {\n    console.log(`Server running on http:\/\/localhost:${PORT}`);\n});<\/code><\/pre>\n<p>\n    <strong>\u89e3\u8aac:<\/strong><\/p>\n<ol>\n<li><code>cors<\/code>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002<\/li>\n<li><code>app.use(cors(...))<\/code>\u3067\u3001CORS\u306e\u8a2d\u5b9a\u3092\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u3068\u3057\u3066\u9069\u7528\u3057\u307e\u3059\u3002<code>origin<\/code>\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u3001\u30a2\u30af\u30bb\u30b9\u3092\u8a31\u53ef\u3057\u305f\u3044\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306e\u30aa\u30ea\u30b8\u30f3\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<p>\n    \u3053\u306e\u8a2d\u5b9a\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308c\u3070\u3001\u672c\u756a\u74b0\u5883\u3067\u3082CORS\u30a8\u30e9\u30fc\u3092\u56de\u907f\u3067\u304d\u307e\u3059\u3002\n<\/p>\n<hr>\n<h2 id=\"section-5\">\u307e\u3068\u3081\uff1aCORS\u3092\u7406\u89e3\u3057\u3066\u5b89\u5168\u306aWeb\u958b\u767a\u3092<\/h2>\n<p>\n    \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Web\u958b\u767a\u8005\u304c\u76f4\u9762\u3059\u308bCORS\u30a8\u30e9\u30fc\u306e\u6839\u672c\u539f\u56e0\u3068\u3001\u305d\u306e\u89e3\u6c7a\u7b56\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002\n<\/p>\n<p>\n    CORS\u306f\u3001\u5358\u306a\u308b\u30a8\u30e9\u30fc\u3067\u306f\u306a\u304f\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u3068\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u5b88\u308b\u305f\u3081\u306e\u91cd\u8981\u306a\u4ed5\u7d44\u307f\u3067\u3059\u3002\u305d\u306e\u672c\u8cea\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u3067\u3001\u306a\u305c\u305d\u306e\u8a2d\u5b9a\u304c\u5fc5\u8981\u306a\u306e\u304b\u3001\u3069\u3046\u3059\u308c\u3070\u5b89\u5168\u306a\u901a\u4fe1\u3092\u5b9f\u73fe\u3067\u304d\u308b\u306e\u304b\u304c\u660e\u78ba\u306b\u306a\u308a\u307e\u3059\u3002\n<\/p>\n<p>\n    \u4eca\u56de\u89e3\u8aac\u3057\u305f\u5185\u5bb9\u3092\u53c2\u8003\u306b\u3001\u3042\u306a\u305f\u306eWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u3088\u308a\u5805\u7262\u3067\u5b89\u5168\u306a\u3082\u306e\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n<\/p>\n<hr>\n<h2 id=\"section-6\">\u95a2\u9023\u8a18\u4e8b<\/h2>\n<ul>\n<li><a href=\"#\">WebAPI\u306e\u8a8d\u8a3c\u65b9\u5f0f\u5165\u9580\uff1aAPI\u30ad\u30fc\u3001OAuth\u3001JWT\u3092\u5fb9\u5e95\u89e3\u8aac<\/a><\/li>\n<li><a href=\"#\">\u5b89\u5168\u306aWeb\u30b5\u30a4\u30c8\u69cb\u7bc9\u306e\u305f\u3081\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c1\u30a7\u30c3\u30af\u30ea\u30b9\u30c810\u9078<\/a><\/li>\n<\/ul>\n<p>\n    \u3053\u306e\u8a18\u4e8b\u304c\u3042\u306a\u305f\u306e\u5f79\u306b\u7acb\u3063\u305f\u306a\u3089\u3001\u305c\u3072SNS\u3067\u30b7\u30a7\u30a2\u3057\u3066\u304f\u3060\u3055\u3044\uff01\n<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u300c\u3042\u308c\u3001API\u3092\u53e9\u3044\u305f\u3089CORS\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u2026\uff1f\u300d \u3042\u306a\u305f\u306f\u4eca\u3001\u305d\u3093\u306a\u898b\u6163\u308c\u306a\u3044\u30a8\u30e9\u30fc\u306b\u76f4\u9762\u3057\u3066\u3044\u307e\u305b\u3093\u304b\uff1f \u5b9f\u306f\u3001\u305d\u308c\u306fWeb\u958b\u767a\u8005\u304c\u5fc5\u305a\u4e00\u5ea6\u306f\u906d\u9047\u3059\u308b\u300c\u3042\u308b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30eb\u30fc\u30eb\u300d\u306b\u8d77\u56e0\u3057\u3066\u3044\u307e\u3059\u3002 \u521d\u3081\u307e\u3057\u3066\u3002IT\u696d\u754c&hellip;<\/p>\n","protected":false},"author":1,"featured_media":320,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-315","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-7"],"_links":{"self":[{"href":"https:\/\/i-third.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/315","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/i-third.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/i-third.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/i-third.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/i-third.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=315"}],"version-history":[{"count":1,"href":"https:\/\/i-third.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/315\/revisions"}],"predecessor-version":[{"id":316,"href":"https:\/\/i-third.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/315\/revisions\/316"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/i-third.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/320"}],"wp:attachment":[{"href":"https:\/\/i-third.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/i-third.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/i-third.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}