{"id":8543,"date":"2026-01-19T12:36:37","date_gmt":"2026-01-19T09:36:37","guid":{"rendered":"https:\/\/1.cbm.ua\/?p=8543"},"modified":"2026-01-30T19:40:47","modified_gmt":"2026-01-30T16:40:47","slug":"%d0%ba%d0%b0%d0%ba-%d0%b2-%d0%b1%d0%bb%d0%be%d0%b3%d0%b5-%d0%bd%d0%b0-%d1%84%d1%80%d0%b5%d0%b9%d0%bc%d0%b2%d0%be%d1%80%d0%ba%d0%b5-wordpress-%d1%81%d0%b4%d0%b5%d0%bb%d0%b0%d1%82%d1%8c-%d0%b4%d0%be","status":"publish","type":"post","link":"https:\/\/1.cbm.ua\/?p=8543","title":{"rendered":"~\ud83c\udfaf\u041a\u0430\u043a \u0432 \u0431\u043b\u043e\u0433\u0435 \u043d\u0430 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0435 WordPress \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0432 \u0437\u0430\u043f\u0440\u043e\u0441 \u0441 \u043d\u0435\u043a\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0438\u043b\u0438 \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u0434\u0440\u0443\u0433\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c?"},"content":{"rendered":"\n<p>\u041a\u0430\u043a \u0432 \u043c\u043e\u0435\u043c \u0431\u043b\u043e\u0433\u0435 \u043d\u0430 \u0444\u0440\u0435\u0439\u0441\u0432\u043e\u0440\u043a\u0435 WordPress \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0432 \u0437\u0430\u0431\u0440\u043e\u0441 \u0441 \u043d\u0435\u043a\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0438\u043b\u0438 \u043a\u0430\u043a\u0438\u043c\u0442\u043e \u0434\u0440\u0443\u0433\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c.<\/p>\n\n\n\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u0435\u0439 \u0432 WordPress \u0438\u0437 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u0432 \u0438\u043b\u0438 \u0441 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u0441\u0430\u0439\u0442\u0430 \u2014 \u0437\u0430\u0434\u0430\u0447\u0430 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0430\u044f. \u0415\u0441\u0442\u044c \u0442\u0440\u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438, \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0432\u0430\u0448\u0438\u0445 \u043d\u0430\u0432\u044b\u043a\u043e\u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0446\u0435\u043b\u0435\u0439.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">1. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 WordPress REST API (\u0421\u0430\u043c\u044b\u0439 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431)<\/h2>\n\n\n\n<p>WordPress \u0438\u043c\u0435\u0435\u0442 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 (JSON) \u0438 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u0438. \u042d\u0442\u043e \u043b\u0443\u0447\u0448\u0438\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442, \u0435\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441 \u0447\u0435\u0440\u0435\u0437 JavaScript (fetch\/axios) \u0438\u043b\u0438 \u0441 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430.<\/p>\n\n\n\n<p><strong>\u041a\u0430\u043a \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442:<\/strong><\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>\u041d\u0443\u0436\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441 (\u0441\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u2014 \u043f\u043b\u0430\u0433\u0438\u043d&nbsp;<strong>Application Passwords<\/strong>, \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u0432 \u044f\u0434\u0440\u043e WP).<\/li>\n\n\n\n<li>\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c&nbsp;<code>POST<\/code>&nbsp;\u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0430\u0434\u0440\u0435\u0441:&nbsp;<code>https:\/\/vash-sait.com\/wp-json\/wp\/v2\/posts<\/code>.<\/li>\n<\/ol>\n\n\n\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430 JavaScript (\u0434\u043b\u044f \u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434\u0430):<\/strong><\/p>\n\n\n\n<p>JavaScript<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">const postData = {\n  title: '\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u043c\u043e\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0438',\n  content: '\u0422\u0435\u043a\u0441\u0442 \u0441\u0442\u0430\u0442\u044c\u0438 \u0437\u0434\u0435\u0441\u044c...',\n  status: 'publish' \/\/ \u0438\u043b\u0438 'draft', \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u0435\u043d \u0447\u0435\u0440\u043d\u043e\u0432\u0438\u043a\n};\n\nfetch('https:\/\/vash-sait.com\/wp-json\/wp\/v2\/posts', {\n  method: 'POST',\n  headers: {\n    'Content-Type': 'application\/json',\n    'Authorization': 'Basic ' + btoa('user:pass_\u0438\u0437_\u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a_\u043f\u0440\u043e\u0444\u0438\u043b\u044f')\n  },\n  body: JSON.stringify(postData)\n})\n.then(response => response.json())\n.then(data => console.log('\u0421\u0442\u0430\u0442\u044c\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0430!', data));\n<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">2. \u0424\u0443\u043d\u043a\u0446\u0438\u044f&nbsp;<code>wp_insert_post<\/code>&nbsp;(\u0415\u0441\u043b\u0438 \u0432\u044b \u043f\u0438\u0448\u0435\u0442\u0435 PHP-\u043a\u043e\u0434)<\/h2>\n\n\n\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0435 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043d\u0430 \u0442\u043e\u043c \u0436\u0435 \u0441\u0430\u0439\u0442\u0435 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0444\u043e\u0440\u043c\u0443 \u0432 \u0444\u0430\u0439\u043b\u0435&nbsp;<code>page-custom.php<\/code>), \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e WordPress.<\/p>\n\n\n\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0440 PHP-\u043a\u043e\u0434\u0430:<\/strong><\/p>\n\n\n\n<p>PHP<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$new_post = array(\n    'post_title'    => '\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u043d\u043e\u0432\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438',\n    'post_content'  => '\u041a\u043e\u043d\u0442\u0435\u043d\u0442, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0438\u0437 \u0432\u0430\u0448\u0435\u0439 \u0444\u043e\u0440\u043c\u044b.',\n    'post_status'   => 'pending', \/\/ 'pending' \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442 \u043d\u0430 \u043c\u043e\u0434\u0435\u0440\u0430\u0446\u0438\u044e\n    'post_author'   => 1,\n    'post_category' => array(1, 8)\n);\n\n$post_id = wp_insert_post($new_post);\n\nif ($post_id) {\n    echo \"\u0421\u0442\u0430\u0442\u044c\u044f \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430!\";\n}\n<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">3. \u041f\u043b\u0430\u0433\u0438\u043d\u044b \u0434\u043b\u044f &#171;Frontend Post Submission&#187; (\u0411\u0435\u0437 \u043a\u043e\u0434\u0430)<\/h2>\n\n\n\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u043d\u0435 \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0434, \u0435\u0441\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c (\u0438\u043b\u0438 \u0432\u0430\u043c) \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u0438 \u043f\u0440\u044f\u043c\u043e \u0441 \u043b\u0438\u0446\u0435\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0441\u0430\u0439\u0442\u0430.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>WP User Frontend:<\/strong>&nbsp;\u0421\u043e\u0437\u0434\u0430\u0435\u0442 \u0444\u043e\u0440\u043c\u0443 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0441\u0430\u0439\u0442\u0430, \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u043e\u0436\u043d\u043e \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u044e.<\/li>\n\n\n\n<li><strong>Gravity Forms \/ WPForms:<\/strong>&nbsp;\u041f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u044b\u0435 \u0444\u043e\u0440\u043c\u044b, \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u044e\u0442\u0441\u044f \u0432 \u0437\u0430\u043f\u0438\u0441\u0438 (Post Submission Add-on).<\/li>\n\n\n\n<li><strong>Contact Form 7 + Post My CF7 Form:<\/strong>&nbsp;\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0430\u044f \u0441\u0432\u044f\u0437\u043a\u0430 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u043e\u0441\u0442\u043e\u0432 \u0438\u0437 \u043e\u0431\u044b\u0447\u043d\u043e\u0439 \u0444\u043e\u0440\u043c\u044b \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u043e\u0432.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">4. \u041f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u0447\u0435\u0440\u0435\u0437 Email (\u0417\u0430\u0431\u044b\u0442\u044b\u0439 \u043c\u0435\u0442\u043e\u0434)<\/h2>\n\n\n\n<p>\u0412 WordPress &#171;\u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438&#187; \u0435\u0441\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044f&nbsp;<strong>&#171;\u041f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u0447\u0435\u0440\u0435\u0437 e-mail&#187;<\/strong>&nbsp;(\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 -&gt; \u041d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435). \u0412\u044b \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0435 \u0441\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u044f\u0449\u0438\u043a, \u0438 \u043b\u044e\u0431\u043e\u0435 \u043f\u0438\u0441\u044c\u043c\u043e, \u043f\u0440\u0438\u0448\u0435\u0434\u0448\u0435\u0435 \u043d\u0430 \u043d\u0435\u0433\u043e, \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0441\u0442\u0430\u0442\u044c\u0435\u0439 \u0432 \u0431\u043b\u043e\u0433\u0435.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u041a\u0430\u043a\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0432\u044b\u0431\u0440\u0430\u0442\u044c?<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td>\u0417\u0430\u0434\u0430\u0447\u0430<\/td><td>\u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u044f<\/td><\/tr><\/thead><tbody><tr><td>\u041d\u0443\u0436\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0441 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430\/\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/td><td><strong>REST API<\/strong><\/td><\/tr><tr><td>\u041d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0444\u043e\u0440\u043c\u0443 \u0434\u043b\u044f \u0433\u043e\u0441\u0442\u0435\u0439 \u043d\u0430 \u0441\u0432\u043e\u0435\u043c \u0441\u0430\u0439\u0442\u0435<\/td><td><strong>WP User Frontend<\/strong><\/td><\/tr><tr><td>\u0412\u044b \u043f\u0438\u0448\u0435\u0442\u0435 \u0441\u0432\u043e\u0439 \u043f\u043b\u0430\u0433\u0438\u043d \u0438\u043b\u0438 \u0442\u0435\u043c\u0443<\/td><td><strong>wp_insert_post()<\/strong><\/td><\/tr><tr><td>\u041d\u0443\u0436\u043d\u043e \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u0431\u0435\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/td><td><strong>\u041f\u043b\u0430\u0433\u0438\u043d\u044b \u0444\u043e\u0440\u043c<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u0425\u043e\u0442\u0438\u0442\u0435, \u044f \u043f\u043e\u043c\u043e\u0433\u0443 \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 JSON-\u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0434\u043b\u044f REST API \u0438\u043b\u0438 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u044e \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0439 PHP-\u0441\u043a\u0440\u0438\u043f\u0442 \u0434\u043b\u044f \u0432\u0430\u0448\u0435\u0439 \u0437\u0430\u0434\u0430\u0447\u0438?<\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<style>\n\/* \u0421\u0442\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u044f\u0440\u043a\u043e\u0439 \u043b\u0438\u043d\u0438\u0438 *\/\n        .rainbow-divider {\n            height: 5px;\n            border: none;\n            \/* \u041b\u0438\u043d\u0435\u0439\u043d\u044b\u0439 \u0433\u0440\u0430\u0434\u0438\u0435\u043d\u0442 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0440\u0430\u0434\u0443\u0436\u043d\u043e\u0433\u043e \u044d\u0444\u0444\u0435\u043a\u0442\u0430 *\/\n            background: linear-gradient(to right, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff);\n            margin: 40px 0;\n            border-radius: 5px;\n        }\n<\/style>\n<hr class=\"rainbow-divider\">\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><\/p>\n\n\n\n<p>&#171;\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 JSON-\u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0434\u043b\u044f REST API&#187; &#8212; \u0434\u0430\u0432\u0430\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0442\u0430\u043a\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435.<\/p>\n\n\n\n<p>\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0447\u0435\u0440\u0435\u0437&nbsp;<strong>REST API<\/strong>&nbsp;\u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0438 \u0433\u0438\u0431\u043a\u0438\u0439 \u043f\u043e\u0434\u0445\u043e\u0434. \u041c\u044b \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0430 \u0442\u0440\u0438 \u044d\u0442\u0430\u043f\u0430: \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 WordPress, \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0441\u0430\u043c \u0437\u0430\u043f\u0440\u043e\u0441.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u042d\u0442\u0430\u043f 1: \u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 WordPress<\/h2>\n\n\n\n<p>\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e WordPress \u0431\u043b\u043e\u043a\u0438\u0440\u0443\u0435\u0442 \u0430\u043d\u043e\u043d\u0438\u043c\u043d\u044b\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043d\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430. \u041d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u00ab\u043f\u0430\u0440\u043e\u043b\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u00bb.<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>\u0417\u0430\u0439\u0434\u0438\u0442\u0435 \u0432 \u0430\u0434\u043c\u0438\u043d\u043a\u0443 WP:\u00a0<strong>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438<\/strong>\u00a0->\u00a0<strong>\u041f\u0440\u043e\u0444\u0438\u043b\u044c<\/strong>.<\/li>\n\n\n\n<li>\u041f\u0440\u043e\u043a\u0440\u0443\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u0437 \u0434\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0430\u00a0<strong>\u041f\u0430\u0440\u043e\u043b\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439<\/strong>.<\/li>\n\n\n\n<li>\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043b\u044e\u0431\u043e\u0435 \u0438\u043c\u044f (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, &#171;My External App&#187;) \u0438 \u043d\u0430\u0436\u043c\u0438\u0442\u0435\u00a0<strong>\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c<\/strong>.<\/li>\n\n\n\n<li><strong>\u0412\u0430\u0436\u043d\u043e:<\/strong>\u00a0\u0421\u043a\u043e\u043f\u0438\u0440\u0443\u0439\u0442\u0435 \u043f\u043e\u044f\u0432\u0438\u0432\u0448\u0438\u0439\u0441\u044f \u043f\u0430\u0440\u043e\u043b\u044c (16 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432). \u0411\u043e\u043b\u044c\u0448\u0435 \u043e\u043d \u043d\u0435 \u043f\u043e\u043a\u0430\u0436\u0435\u0442\u0441\u044f.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u042d\u0442\u0430\u043f 2: \u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 JSON-\u0437\u0430\u043f\u0440\u043e\u0441\u0430<\/h2>\n\n\n\n<p>WordPress \u043e\u0436\u0438\u0434\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 JSON. \u041d\u0438\u0436\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043f\u043e\u043b\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c.<\/p>\n\n\n\n<p>JSON<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">{\n  \"title\": \"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0432\u0430\u0448\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0438\",\n  \"content\": \"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0442\u0435\u043a\u0441\u0442 \u0441\u0442\u0430\u0442\u044c\u0438. \u041c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u043e\u0442\u0441\u0435\u0447\u043a\u0438 \u0430\u043d\u043e\u043d\u0441\u0430.\",\n  \"excerpt\": \"\u041a\u0440\u0430\u0442\u043a\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 (\u043e\u0442\u0440\u044b\u0432\u043e\u043a), \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e.\",\n  \"status\": \"publish\",\n  \"categories\": [1, 5],\n  \"tags\": [10, 12],\n  \"format\": \"standard\",\n  \"meta\": {\n    \"custom_field_key\": \"\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435_\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u043e\u0433\u043e_\u043f\u043e\u043b\u044f\"\n  }\n}\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u0420\u0430\u0437\u0431\u043e\u0440 \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0445 \u043f\u043e\u043b\u0435\u0439:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>status:<\/strong>\u00a0<code>publish<\/code>\u00a0(\u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u0441\u0440\u0430\u0437\u0443),\u00a0<code>draft<\/code>\u00a0(\u0447\u0435\u0440\u043d\u043e\u0432\u0438\u043a) \u0438\u043b\u0438\u00a0<code>pending<\/code>\u00a0(\u043d\u0430 \u043c\u043e\u0434\u0435\u0440\u0430\u0446\u0438\u044e).<\/li>\n\n\n\n<li><strong>categories\/tags:<\/strong>\u00a0\u041c\u0430\u0441\u0441\u0438\u0432\u044b \u0441\u00a0<strong>ID<\/strong>\u00a0(\u0447\u0438\u0441\u043b\u0430\u043c\u0438), \u0430 \u043d\u0435 \u0438\u043c\u0435\u043d\u0430\u043c\u0438 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0439.<\/li>\n\n\n\n<li><strong>content:<\/strong>\u00a0\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 HTML-\u0442\u0435\u0433\u0438.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u042d\u0442\u0430\u043f 3: \u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f (PHP \u0438\u043b\u0438 JS)<\/h2>\n\n\n\n<p>\u0414\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a&nbsp;<code>Authorization<\/code>&nbsp;\u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435&nbsp;<strong>Basic Auth<\/strong>. \u042d\u0442\u043e \u0441\u0442\u0440\u043e\u043a\u0430:&nbsp;<code>Base64(\u043b\u043e\u0433\u0438\u043d:\u043f\u0430\u0440\u043e\u043b\u044c_\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f)<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u0412\u0430\u0440\u0438\u0430\u043d\u0442 \u043d\u0430 PHP (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430)<\/h3>\n\n\n\n<p>PHP<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$url = 'https:\/\/vash-sait.com\/wp-json\/wp\/v2\/posts';\n$username = 'admin'; \/\/ \u0412\u0430\u0448 \u043b\u043e\u0433\u0438\u043d\n$password = 'abcd efgh ijkl mnop'; \/\/ \u041f\u0430\u0440\u043e\u043b\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\n\n$data = [\n    'title'   => '\u041f\u043e\u0441\u0442 \u0447\u0435\u0440\u0435\u0437 API',\n    'content' => '\u0421\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0441\u0442\u0430\u0442\u044c\u0438...',\n    'status'  => 'publish'\n];\n\n$ch = curl_init($url);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\ncurl_setopt($ch, CURLOPT_POST, true);\ncurl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));\ncurl_setopt($ch, CURLOPT_HTTPHEADER, [\n    'Content-Type: application\/json',\n    'Authorization: Basic ' . base64_encode(\"$username:$password\")\n]);\n\n$response = curl_exec($ch);\ncurl_close($ch);\n\necho $response;\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u0427\u0442\u043e \u0432\u0430\u0436\u043d\u043e \u0437\u043d\u0430\u0442\u044c:<\/h2>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>\u0411\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c:<\/strong>\u00a0\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u044d\u0442\u043e\u0442 \u043c\u0435\u0442\u043e\u0434 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0435\u0440\u0435\u0437\u00a0<strong>HTTPS<\/strong>. \u0415\u0441\u043b\u0438 \u0432\u0430\u0448 \u0441\u0430\u0439\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 HTTP, \u043f\u0430\u0440\u043e\u043b\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c \u0432\u0438\u0434\u0435.<\/li>\n\n\n\n<li><strong>ID \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0439:<\/strong>\u00a0\u0427\u0442\u043e\u0431\u044b \u0443\u0437\u043d\u0430\u0442\u044c ID, \u0437\u0430\u0439\u0434\u0438\u0442\u0435 \u0432 &#171;\u0417\u0430\u043f\u0438\u0441\u0438&#187; -> &#171;\u0420\u0443\u0431\u0440\u0438\u043a\u0438&#187; \u0438 \u043d\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0430 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u2014 ID \u0431\u0443\u0434\u0435\u0442 \u0432\u0438\u0434\u0435\u043d \u0432 \u0441\u0441\u044b\u043b\u043a\u0435 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 (\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u00a0<code>tag_ID=...<\/code>).<\/li>\n\n\n\n<li><strong>\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f:<\/strong>\u00a0\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a \u0447\u0435\u0440\u0435\u0437 API \u2014 \u044d\u0442\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0444\u0430\u0439\u043b \u0432\u00a0<code>\/wp-json\/wp\/v2\/media<\/code>, \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0435\u0433\u043e ID, \u0430 \u0437\u0430\u0442\u0435\u043c \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u044d\u0442\u043e\u0442 ID \u0432 \u043f\u043e\u043b\u0435\u00a0<code>featured_media<\/code>\u00a0\u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0441\u0442\u0430\u0442\u044c\u0438.<\/li>\n<\/ol>\n\n\n\n<p><strong>\u0425\u043e\u0442\u0438\u0442\u0435, \u044f \u043f\u043e\u043c\u043e\u0433\u0443 \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441 \u0434\u043b\u044f \u043f\u0440\u0438\u043a\u0440\u0435\u043f\u043b\u0435\u043d\u0438\u044f &#171;\u041c\u0438\u043d\u0438\u0430\u0442\u044e\u0440\u044b&#187; (\u0433\u043b\u0430\u0432\u043d\u043e\u0433\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f) \u043a \u0441\u0442\u0430\u0442\u044c\u0435?<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041a\u0430\u043a \u0432 \u043c\u043e\u0435\u043c \u0431\u043b\u043e\u0433\u0435 \u043d\u0430 \u0444\u0440\u0435\u0439\u0441\u0432\u043e\u0440\u043a\u0435 WordPress \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0432 \u0437\u0430\u0431\u0440\u043e\u0441 \u0441 \u043d\u0435\u043a\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0438\u043b\u0438 \u043a\u0430\u043a\u0438\u043c\u0442\u043e \u0434\u0440\u0443\u0433\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c. \u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u0435\u0439 \u0432 WordPress \u0438\u0437 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u0432 \u0438\u043b\u0438 \u0441 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u0441\u0430\u0439\u0442\u0430 \u2014 \u0437\u0430\u0434\u0430\u0447\u0430 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0430\u044f. \u0415\u0441\u0442\u044c \u0442\u0440\u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438, \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0432\u0430\u0448\u0438\u0445 \u043d\u0430\u0432\u044b\u043a\u043e\u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0446\u0435\u043b\u0435\u0439. 1. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 WordPress REST API (\u0421\u0430\u043c\u044b\u0439 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439&hellip;&nbsp;<a href=\"https:\/\/1.cbm.ua\/?p=8543\" rel=\"bookmark\">\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 &raquo;<span class=\"screen-reader-text\">~\ud83c\udfaf\u041a\u0430\u043a \u0432 \u0431\u043b\u043e\u0433\u0435 \u043d\u0430 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0435 WordPress \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0432 \u0437\u0430\u043f\u0440\u043e\u0441 \u0441 \u043d\u0435\u043a\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0438\u043b\u0438 \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u0434\u0440\u0443\u0433\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c?<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[194,197,184,138,101],"tags":[],"class_list":["post-8543","post","type-post","status-publish","format-standard","hentry","category-spr-jk_pwa-1","category-197","category--script","category-138","category-wordpress"],"_links":{"self":[{"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/posts\/8543","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8543"}],"version-history":[{"count":5,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/posts\/8543\/revisions"}],"predecessor-version":[{"id":9176,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/posts\/8543\/revisions\/9176"}],"wp:attachment":[{"href":"https:\/\/1.cbm.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8543"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8543"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}