{"id":503,"date":"2017-05-03T14:37:50","date_gmt":"2017-05-03T05:37:50","guid":{"rendered":"http:\/\/www.typea.info\/blog\/index.php\/2017\/05\/03\/centos7_python3_django\/"},"modified":"2017-05-03T14:37:50","modified_gmt":"2017-05-03T05:37:50","slug":"centos7_python3_django","status":"publish","type":"post","link":"https:\/\/www.typea.info\/blog\/index.php\/2017\/05\/03\/centos7_python3_django\/","title":{"rendered":"CentOS7 \u306b Python3 \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066Django\u3092\u52d5\u304b\u3059"},"content":{"rendered":"<p><a href=\"https:\/\/www.amazon.co.jp\/dp\/479738946X\/ref=as_li_ss_il?ie=UTF8&amp;qid=1493789788&amp;sr=8-17&amp;keywords=django&amp;linkCode=li2&amp;tag=typea09-22&amp;linkId=f25d25ecbdf21c07f2044b89cd2a3431\" target=\"_blank\"><img decoding=\"async\" border=\"0\" src=\"\/\/ws-fe.amazon-adsystem.com\/widgets\/q?_encoding=UTF8&amp;ASIN=479738946X&amp;Format=_SL160_&amp;ID=AsinImage&amp;MarketPlace=JP&amp;ServiceVersion=20070822&amp;WS=1&amp;tag=typea09-22\"><\/a><img loading=\"lazy\" decoding=\"async\" style=\"border-top-style: none !important; border-left-style: none !important; border-bottom-style: none !important; border-right-style: none !important; margin: 0px\" border=\"0\" alt=\"\" src=\"https:\/\/ir-jp.amazon-adsystem.com\/e\/ir?t=typea09-22&amp;l=li2&amp;o=9&amp;a=479738946X\" width=\"1\" height=\"1\">  <\/p>\n<ul>\n<li><a href=\"https:\/\/www.typea.info\/blog\/index.php\/2016\/05\/16\/django_centos7\">Django \u3092 CentOS7\u3067\u52d5\u304b\u3059<\/a><\/li>\n<\/ul>\n<h2>1.CentOS7 \u306b Python3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<h3>1.1 IUS Community Project \u306e yum \u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p><a href=\"http:\/\/weblabo.oscasierra.net\/python3-centos7-yum-install\/\">Python 3 \u3092 CentOS 7 \u306b yum \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806<\/a><\/p>\n<blockquote>\n<p><strong>IUS Community Project \u306e yum \u30ea\u30dd\u30b8\u30c8\u30ea<\/strong><br \/>Python 3.x \u306f CentOS 7 \u306e\u6a19\u6e96 yum \u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u306f\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u306e\u3067\u3001\u5225\u306e yum \u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u53d6\u5f97\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 <br \/>IUS Community Project \u306f\u3001Red Hat Enterprise Linux (RHEL) \u3084 CentOS \u5411\u3051\u306b\u3001\u3067\u304d\u308b\u9650\u308a\u6700\u65b0\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e RPM \u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u3092\u76ee\u7684\u3068\u3057\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002<br \/>PHP, MySQL, Python, Apache httpd, rsync, memcached, curl, openssl \u306a\u3069\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092 RPM \u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002 <br \/>\u3053\u306e IUS Community Project \u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092 CentOS 7 \u306b\u767b\u9332\u3059\u308c\u3070\u3001\u6700\u65b0\u306e Python \u3092 yum \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u3068\u3044\u3046\u8a33\u3067\u3059<\/p>\n<\/blockquote>\n<pre class=\"prettyprint linenums\"># yum install -y <a href=\"https:\/\/centos7.iuscommunity.org\/ius-release.rpm\">https:\/\/centos7.iuscommunity.org\/ius-release.rpm<\/a><\/pre>\n<h3>1.2 Python3.6 \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>Python3.6 \u3092\u691c\u7d22\u3057\u3066\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre class=\"prettyprint linenums\"># yum search python36\r\n# yum install python36u\r\n<\/pre>\n<h3>1.3 venv\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210<\/h3>\n<p>\u30e6\u30fc\u30b6\u30fc\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea(\/home\/piroto\/venv)\u306bvenv\u4eee\u60f3\u74b0\u5883\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210<\/p>\n<pre class=\"prettyprint linenums\"># cd \/home\/piroto\/venv\r\n# python3.6 -m venv django<\/pre>\n<p>Activate \u3059\u308b<\/p>\n<pre class=\"prettyprint linenums\">[root@ganzin bin]# pwd\r\n\/home\/piroto\/venv\/django\/bin\r\n[root@ganzin bin]# . activate\r\n(django) [root@ganzin bin]#<\/pre>\n<h3>1.4 venv\u74b0\u5883\u306b\u5fc5\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p><a href=\"https:\/\/www.typea.info\/blog\/index.php\/2017\/04\/29\/anaconda_pydev_django_rest\">\u958b\u767a\u74b0\u5883\u306b pip install \u3057\u305f\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u78ba\u8a8d<\/a>\u3057\u3001<\/p>\n<pre class=\"prettyprint linenums\">(django) PS C:\\workspaces\\venv\\django\\Scripts&gt; pip freeze \r\nDjango==1.11 \r\ndjango-filter==1.0.2 \r\ndjangorestframework==3.6.2 \r\nMarkdown==2.6.8 \r\npytz==2017.2<\/pre>\n<p>\u4e0a\u8a18\u3067 Activate\u3057\u305f\u3001CentOS\u306evenv\u74b0\u5883\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre class=\"prettyprint linenums\">(django) [root@ganzin bin]# pip install Django==1.11\r\n(django) [root@ganzin bin]# pip install django-filter==1.0.2\r\n(django) [root@ganzin bin]# pip install djangorestframework==3.6.2\r\n(django) [root@ganzin bin]# pip install Markdown==2.6.8\r\n<\/pre>\n<h3>1.5 CentOS\u306b\u4ee5\u4e0b\u5fc5\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<blockquote>\n<p>Python3.6 \u3092\u5229\u7528\u3059\u308b\u306e\u3067\u3001mod_wsgi \u306f\u3001Pthon3.6\u7528\u306e\u3082\u306e\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/p>\n<\/blockquote>\n<pre class=\"prettyprint linenums\">[root@ganzin bin]# yum install httpd-devel\r\n[root@ganzin bin]# yum install python36u-mod_wsgi\r\n<\/pre>\n<h2>2.\u30c7\u30d7\u30ed\u30a4<\/h2>\n<h3>2.1 \u30e2\u30b8\u30e5\u30fc\u30eb\u30c7\u30d7\u30ed\u30a4\u7528\u306bFTP\u30b5\u30fc\u30d0\u3092\u8a2d\u5b9a\u3059\u308b<\/h3>\n<ul>\n<li><a title=\"https:\/\/www.server-world.info\/query?os=CentOS_7&amp;p=ftp\" href=\"https:\/\/www.server-world.info\/query?os=CentOS_7&amp;p=ftp\">https:\/\/www.server-world.info\/query?os=CentOS_7&amp;p=ftp<\/a>\n<li><a title=\"http:\/\/typea.info\/tips\/wiki.cgi?page=CentOS+%BD%E9%B4%FC%C0%DF%C4%EA#p34\" href=\"http:\/\/typea.info\/tips\/wiki.cgi?page=CentOS+%BD%E9%B4%FC%C0%DF%C4%EA#p34\">http:\/\/typea.info\/tips\/wiki.cgi?page=CentOS+%BD%E9%B4%FC%C0%DF%C4%EA#p34<\/a><\/li>\n<\/ul>\n<h3>2.2 \u30b5\u30f3\u30d7\u30eb\u7528\u306eDjango REST \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5727\u7e2e\u3057\u3001\u30c7\u30d7\u30ed\u30a4<\/h3>\n<p><a href=\"https:\/\/www.typea.info\/blog\/index.php\/2017\/05\/01\/anaconda_eclipsepydev_visual_studio_code_django_rest\">\u30b5\u30f3\u30d7\u30eb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3<\/a><\/p>\n<p>(1) settings.py \u306e ALLOW_HOSTS \u306b\u914d\u7f6e\u30b5\u30fc\u30d0\u30fc\u306e IP\u30a2\u30c9\u30ec\u30b9\u3092\u6307\u5b9a\u3059\u308b(\u4eca\u56de\u306f\uff0a\u3067\u3059\u3079\u3066\u8a31\u5bb9\u3055\u305b\u308b)\u3088\u3046\u6307\u5b9a<\/p>\n<pre class=\"prettyprint linenums\">ALLOWED_HOSTS = ['*']<\/pre>\n<p>(2) django_api_lesson \u76f4\u4e0b\u306e\u3001firstapi \u3092\u3001zip\u3067\u5727\u7e2e<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/Python3-on-centos7_145BD\/django_centos7_03.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"django_centos7_03\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"django_centos7_03\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/Python3-on-centos7_145BD\/django_centos7_03_thumb.jpg\" width=\"464\" height=\"272\"><\/a><\/p>\n<p>(3) \u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u914d\u4e0b\u306b\u3001djangoapp \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3001\u305d\u3053\u306b\u3001firstapi.zip\u3092\u914d\u7f6e(\u958b\u767aWindows\u7aef\u672b\u5074\u4f5c\u696d)<\/p>\n<pre class=\"prettyprint linenums\">ftp&gt; mkdir djangoapp\r\n257 \"\/home\/piroto\/djangoapp\" created\r\nftp&gt; bin\r\n200 Switching to Binary mode.\r\nftp&gt; put \"C:\\workspaces\\vscode\\django_api_lesson\\firstapi.zip\"\r\n200 PORT command successful. Consider using PASV.\r\n150 Ok to send data.\r\n226 Transfer complete.\r\nftp: 11848 \u30d0\u30a4\u30c8\u304c\u9001\u4fe1\u3055\u308c\u307e\u3057\u305f 0.02\u79d2 592.40KB\/\u79d2\u3002<\/pre>\n<p>(4) CentOS\u5074\u306b\u3066\u89e3\u51cd<\/p>\n<pre class=\"prettyprint linenums\">[root@ganzin djangoapp]# unzip firstapi.zip<\/pre>\n<h2>3.Apache \u7528 Django\u8a2d\u5b9a<\/h2>\n<h3>3.1 \/etc\/httpd\/conf.d\/django.conf \u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u4ee5\u4e0b\u3092\u8a18\u8ff0<\/h3>\n<p><a title=\"http:\/\/docs.djangoproject.jp\/en\/latest\/howto\/deployment\/wsgi\/modwsgi.html\" href=\"http:\/\/docs.djangoproject.jp\/en\/latest\/howto\/deployment\/wsgi\/modwsgi.html\">http:\/\/docs.djangoproject.jp\/en\/latest\/howto\/deployment\/wsgi\/modwsgi.html<\/a><\/p>\n<table cellspacing=\"0\" cellpadding=\"2\" border=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\">\u9805\u76ee<\/td>\n<td valign=\"top\">\u8a2d\u5b9a\u5185\u5bb9<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">WSGIScriptAlias<\/td>\n<td valign=\"top\">\u30c7\u30d7\u30ed\u30a4\u3057\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306ewsgi.py\u3092\u6307\u5b9a<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">WSGIPytonPath<\/td>\n<td valign=\"top\">\u30c7\u30d7\u30ed\u30a4\u3057\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3001\u304a\u3088\u3073venv\u4eee\u60f3\u74b0\u5883\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u5b9a\u3002\u8907\u6570\u30d1\u30b9\u3092\u6307\u5b9a\u3059\u308b\u5834\u5408\u3001: \u3067\u3064\u306a\u3050<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">Alias<\/td>\n<td valign=\"top\">Django REST framework \u304c\u4f7f\u7528\u3059\u308b\u3001css\u3001JavaScript\u306a\u3069\u306e\u9759\u7684\u30d5\u30a1\u30a4\u30eb\u306e\u53c2\u7167\u5148\u3092\u6307\u5b9a <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<pre class=\"prettyprint linenums\">WSGIScriptAlias \/firstapi \/home\/piroto\/djangoapp\/firstapi\/firstapi\/wsgi.py\r\nWSGIPythonPath \/home\/piroto\/djangoapp\/firstapi:\/home\/piroto\/venv\/django\/lib\/python3.6\/site-packages\r\n&lt;Directory \/home\/piroto\/djangoapp\/firstapi\/firstapi&gt;\r\n&lt;Files wsgi.py&gt;\r\nRequire all granted\r\n&lt;\/Files&gt;\r\n&lt;\/Directory&gt;\r\n\r\nAlias \/static\/rest_framework \/home\/piroto\/venv\/django\/lib\/python3.6\/site-packages\/rest_framework\/static\/rest_framework\/\r\n\r\n&lt;Directory \/home\/piroto\/venv\/django\/lib\/python3.6\/site-packages\/rest_framework\/static\/rest_framework&gt;\r\nRequire all granted\r\n&lt;\/Directory&gt;<\/pre>\n<h3>3.2 \/etc\/httpd\/conf.d\/usedir.conf<\/h3>\n<p>\u30e6\u30fc\u30b6\u30fc\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u914d\u7f6e\u3059\u308b\u5834\u5408\u3001UserDir \u3092 enable \u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n<pre class=\"prettyprint linenums\">&lt;IfModule mod_userdir.c&gt;\r\n    #\r\n    # UserDir is disabled by default since it can confirm the presence\r\n    # of a username on the system (depending on home directory\r\n    # permissions).\r\n    #\r\n    UserDir enable\r\n\r\n    #\r\n    # To enable requests to \/~user\/ to serve the user's public_html\r\n    # directory, remove the \"UserDir disabled\" line above, and uncomment\r\n    # the following line instead:\r\n    #\r\n    #UserDir public_html\r\n&lt;\/IfModule&gt;\r\n<\/pre>\n<p>\u3053\u308c\u3060\u3051\u3060\u3068\u3001\u5b9f\u884c\u6642\u306bPermission\u30a8\u30e9\u30fc\u3068\u306a\u308b\u3002<\/p>\n<pre class=\"prettyprint linenums\">[Tue May 02 21:49:38.552916 2017] [core:error] [pid 16163] (13)Permission denied: [client 192.168.0.29:56724] AH00035: access to \/firstapi denied (filesystem path '\/home\/piroto\/djangoapp') because search permissions are missing on a component of the path<\/pre>\n<p>home \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4ee5\u4e0b\u306b\u3001\u5b9f\u884c\u6a29\u9650 chmod +x \u304c\u5fc5\u8981<\/p>\n<pre class=\"prettyprint linenums\"># cd\u3000\/home\r\n# chmod 755 piroto<\/pre>\n<h2>5.\u52d5\u4f5c\u78ba\u8a8d<\/h2>\n<p><a title=\"http:\/\/192.168.0.36\/firstapi\" href=\"http:\/\/192.168.0.36\/firstapi\">http:\/\/192.168.0.36\/firstapi<\/a><\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/Python3-on-centos7_145BD\/django_centos7_01.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"django_centos7_01\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"django_centos7_01\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/Python3-on-centos7_145BD\/django_centos7_01_thumb.jpg\" width=\"369\" height=\"275\"><\/a><\/p>\n<p>OK<\/p>\n<p><a title=\"http:\/\/192.168.0.36\/firstapi\/users\/?format=json\" href=\"http:\/\/192.168.0.36\/firstapi\/users\/?format=json\">http:\/\/192.168.0.36\/firstapi\/users\/?format=json<\/a><\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/Python3-on-centos7_145BD\/django_centos7_02.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"django_centos7_02\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"django_centos7_02\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/Python3-on-centos7_145BD\/django_centos7_02_thumb.jpg\" width=\"370\" height=\"275\"><\/a><\/p>\n<p>OK<\/p>\n<p>\u3044\u304f\u3064\u304b\u306f\u307e\u308a\u306a\u304c\u3089\u3082\u52d5\u4f5c\u78ba\u8a8d\u3067\u304d\u305f\u3002\u3081\u3067\u305f\u3057\u3002<\/p>\n<p><a href=\"https:\/\/www.amazon.co.jp\/%E5%AE%9F%E8%B7%B5-CentOS-%E3%82%B5%E3%83%BC%E3%83%90%E3%83%BC%E5%BE%B9%E5%BA%95%E6%A7%8B%E7%AF%89-%E7%A6%8F%E7%94%B0-%E5%92%8C%E5%AE%8F\/dp\/4800711258\/ref=as_li_ss_il?ie=UTF8&amp;qid=1493789750&amp;sr=8-3&amp;keywords=centos&amp;linkCode=li2&amp;tag=typea09-22&amp;linkId=5540feba7d9e2d1f174b0bc930527719\" target=\"_blank\"><img decoding=\"async\" border=\"0\" src=\"\/\/ws-fe.amazon-adsystem.com\/widgets\/q?_encoding=UTF8&amp;ASIN=4800711258&amp;Format=_SL160_&amp;ID=AsinImage&amp;MarketPlace=JP&amp;ServiceVersion=20070822&amp;WS=1&amp;tag=typea09-22\"><\/a><img loading=\"lazy\" decoding=\"async\" style=\"border-top-style: none !important; border-left-style: none !important; border-bottom-style: none !important; border-right-style: none !important; margin: 0px\" border=\"0\" alt=\"\" src=\"https:\/\/ir-jp.amazon-adsystem.com\/e\/ir?t=typea09-22&amp;l=li2&amp;o=9&amp;a=4800711258\" width=\"1\" height=\"1\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Django \u3092 CentOS7\u3067\u52d5\u304b\u3059 1.CentOS7 \u306b Python3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb 1.1 IUS Community Project \u306e yum \u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb Python 3 \u3092 CentOS [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"","vkexunit_cta_each_option":"","footnotes":""},"categories":[64,29,20],"tags":[],"class_list":["post-503","post","type-post","status-publish","format-standard","hentry","category-centos","category-django","category-python"],"veu_head_title_object":{"title":"","add_site_title":""},"_links":{"self":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts\/503","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=503"}],"version-history":[{"count":0,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts\/503\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}