{"id":7151,"date":"2012-09-05T10:54:43","date_gmt":"2012-09-05T05:24:43","guid":{"rendered":"https:\/\/tothenewco.pro\/blog\/?p=7151"},"modified":"2016-12-19T15:16:41","modified_gmt":"2016-12-19T09:46:41","slug":"postgresql-with-grails","status":"publish","type":"post","link":"https:\/\/tothenewco.pro\/blog\/postgresql-with-grails\/","title":{"rendered":"PostgreSQL with Grails"},"content":{"rendered":"<p>Currently in <a title=\"Grails Case Study\" href=\"https:\/\/tothenewco.pro\/success-stories\/mat.se\">my Grails project<\/a> I am using PostgreSQL database so I thought to share my knowledge with everyone. I am using it on Linux operating system. I am mentioning all the steps that I followed to integrate PostgreSQL with Grails .<\/p>\n<p><strong><br \/>\nStep 1:<\/strong> <strong>Install PostgreSQL on your system<\/strong><br \/>\nTo install postgreSql<\/p>\n<p>[java]<br \/>\nsudo apt-get install postgresql<br \/>\n[\/java]<\/p>\n<p>By default the username is postgres<\/p>\n<p>For changing password:<\/p>\n<p>[java]sudo passwd postgres[\/java]<\/p>\n<p>It will ask for new password. Give any password eg: newPassword<\/p>\n<p>[java]su postgres    \/\/switch to the user postgres with password newPassword<br \/>\npsql[\/java]<\/p>\n<p><strong><br \/>\nStep 2: Download PostgreSQL<\/strong><\/p>\n<p>Download latest <a href=\"http:\/\/jdbc.postgresql.org\/\"> PostgreSQL JDBC <\/a>driver and copy it into your application&#8217;s lib folder. For example: myProject\/lib\/postgresql9.1.216.jdbc3.jar<\/p>\n<p><strong><br \/>\nStep 3: Change DataSource file settings<\/strong><\/p>\n<p>[java]<br \/>\ndataSource {<br \/>\n    pooled = true<br \/>\n    driverClassName = &#8220;org.postgresql.Driver&#8221;<br \/>\n    username = &#8220;postgres&#8221;<br \/>\n    password = &#8220;newPassword&#8221;<br \/>\n    dialect = org.hibernate.dialect.PostgreSQLDialect<\/p>\n<p>}<br \/>\nhibernate {<br \/>\n    cache.use_second_level_cache = true<br \/>\n    cache.use_query_cache = true<br \/>\n    cache.provider_class=&#8217;org.hibernate.cache.EhCacheProvider&#8217;<br \/>\n}<\/p>\n<p>environments {<br \/>\n    development {<br \/>\n        dataSource {<br \/>\n            url=&#8221;jdbc:postgresql:\/\/localhost:5432\/appName&#8221;<br \/>\n            dbCreate = &#8220;create-drop&#8221;<br \/>\n            driverClassName = &#8220;org.postgresql.Driver&#8221;<br \/>\n            username = &#8220;postgres&#8221;<br \/>\n            password = &#8220;newPassword&#8221;<br \/>\n        }<br \/>\n    }<br \/>\n}<\/p>\n<p>[\/java]<\/p>\n<p><strong>Step 4: Create database <\/strong><\/p>\n<p>[java]sudo -u postgres createdb <databaseName>[\/java]<\/p>\n<p>eg: <em>sudo -u postgres createdb myDB<\/em><\/p>\n<p>[java]su postgres   \/\/switch to the user postgres with password newPassword[\/java]<\/p>\n<p>Type \\l to show all databases in postgreSql<\/p>\n<p><em>postgres=# \\l<\/em><\/p>\n<p>[java]<br \/>\npsql -U postgres -d myDB    \/\/ now you are connected with your application<br \/>\n\\d                         \/\/ list all the tables in that database [\/java]<\/p>\n<p>View details of a table structure:<\/p>\n<p>[java]\\d tablename[\/java]<\/p>\n<p>eg: <em>postgres=# \\d customer<\/em><\/p>\n<p><strong><em>Some useful postgreSQL commands:<\/em><\/strong><br \/>\nCreate database<\/p>\n<p>[java]<br \/>\nsudo -u postgres createdb <databaseName>   [\/java]<\/p>\n<p>Drop database<\/p>\n<p>[java]dropdb myDB       [\/java]<\/p>\n<p>Access database<\/p>\n<p>[java]psql mydb         [\/java]<\/p>\n<p>Show databases<\/p>\n<p>[java]postgres=#\\l             [\/java]<\/p>\n<p>Get help<\/p>\n<p>[java]postgres=#\\h           [\/java]<\/p>\n<p>Dump database<\/p>\n<p>[java]pg_dump myDB > db.out   [\/java]<\/p>\n<p>Reload database<\/p>\n<p>[java]psql -d database -f db.out <\/p>\n<p>[\/java]<\/p>\n<p>Disconnect from psql:<\/p>\n<p>[java]<br \/>\npostgres=#\\q [\/java]<\/p>\n<p><strong><br \/>\nNote:<\/strong> In my project I got problem while using &#8220;user&#8221; table name because user is a keyword in PostgreSQL so I changed the name of user table. Instead of changing domain name I just mentioned the table name corresponding to User domain in mapping closure.<br \/>\nAlso, one should keep in mind that postgresql maintains id in sequence unlike mysql. It means that the id generator generates id in continous sequence for all the tables instead of generating from 1 for each table.<br \/>\n<em>Hope this will help you.<\/em> \ud83d\ude42<br \/>\nGunpreet Bedi<br \/>\ngunpreet@intelligrape.com<\/p>\n<p><a href=\"https:\/\/twitter.com\/gunpreet_ginny\">https:\/\/twitter.com\/gunpreet_ginny<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Currently in my Grails project I am using PostgreSQL database so I thought to share my knowledge with everyone. I am using it on Linux operating system. I am mentioning all the steps that I followed to integrate PostgreSQL with Grails . Step 1: Install PostgreSQL on your system To install postgreSql [java] sudo apt-get [&hellip;]<\/p>\n","protected":false},"author":44,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":56,"footnotes":""},"categories":[7],"tags":[4843,4840,260,942],"class_list":["post-7151","post","type-post","status-publish","format-standard","hentry","category-grails","tag-database","tag-grails","tag-linux","tag-postgresql"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Currently in my Grails project I am using PostgreSQL database so I thought to share my knowledge with everyone. I am using it on Linux operating system. I am mentioning all the steps that I followed to integrate PostgreSQL with Grails . Step 1: Install PostgreSQL on your system To install postgreSql [java] sudo apt-get\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Gunpreet\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/tothenewco.pro\/blog\/postgresql-with-grails\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"PostgreSQL with Grails | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Currently in my Grails project I am using PostgreSQL database so I thought to share my knowledge with everyone. I am using it on Linux operating system. I am mentioning all the steps that I followed to integrate PostgreSQL with Grails . Step 1: Install PostgreSQL on your system To install postgreSql [java] sudo apt-get\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/tothenewco.pro\/blog\/postgresql-with-grails\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"PostgreSQL with Grails | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Currently in my Grails project I am using PostgreSQL database so I thought to share my knowledge with everyone. I am using it on Linux operating system. I am mentioning all the steps that I followed to integrate PostgreSQL with Grails . Step 1: Install PostgreSQL on your system To install postgreSql [java] sudo apt-get\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/postgresql-with-grails\\\/#article\",\"name\":\"PostgreSQL with Grails | TO THE NEW Blog\",\"headline\":\"PostgreSQL with Grails\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/gunpreet\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2012-09-05T10:54:43+05:30\",\"dateModified\":\"2016-12-19T15:16:41+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/postgresql-with-grails\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/postgresql-with-grails\\\/#webpage\"},\"articleSection\":\"Grails, Database, Grails, Linux, postgresql\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/postgresql-with-grails\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"name\":\"Grails\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"position\":2,\"name\":\"Grails\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/postgresql-with-grails\\\/#listItem\",\"name\":\"PostgreSQL with Grails\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/postgresql-with-grails\\\/#listItem\",\"position\":3,\"name\":\"PostgreSQL with Grails\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"name\":\"Grails\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/gunpreet\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/gunpreet\\\/\",\"name\":\"Gunpreet\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/postgresql-with-grails\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3e7126538ec370ae8b31cfa6bc32cf2167935c3551e5b3a8cd3af413358ee07a?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Gunpreet\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/postgresql-with-grails\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/postgresql-with-grails\\\/\",\"name\":\"PostgreSQL with Grails | TO THE NEW Blog\",\"description\":\"Currently in my Grails project I am using PostgreSQL database so I thought to share my knowledge with everyone. I am using it on Linux operating system. I am mentioning all the steps that I followed to integrate PostgreSQL with Grails . Step 1: Install PostgreSQL on your system To install postgreSql [java] sudo apt-get\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/postgresql-with-grails\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/gunpreet\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/gunpreet\\\/#author\"},\"datePublished\":\"2012-09-05T10:54:43+05:30\",\"dateModified\":\"2016-12-19T15:16:41+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"PostgreSQL with Grails | TO THE NEW Blog","description":"Currently in my Grails project I am using PostgreSQL database so I thought to share my knowledge with everyone. I am using it on Linux operating system. I am mentioning all the steps that I followed to integrate PostgreSQL with Grails . Step 1: Install PostgreSQL on your system To install postgreSql [java] sudo apt-get","canonical_url":"https:\/\/tothenewco.pro\/blog\/postgresql-with-grails\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tothenewco.pro\/blog\/postgresql-with-grails\/#article","name":"PostgreSQL with Grails | TO THE NEW Blog","headline":"PostgreSQL with Grails","author":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/gunpreet\/#author"},"publisher":{"@id":"https:\/\/tothenewco.pro\/blog\/#organization"},"datePublished":"2012-09-05T10:54:43+05:30","dateModified":"2016-12-19T15:16:41+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/tothenewco.pro\/blog\/postgresql-with-grails\/#webpage"},"isPartOf":{"@id":"https:\/\/tothenewco.pro\/blog\/postgresql-with-grails\/#webpage"},"articleSection":"Grails, Database, Grails, Linux, postgresql"},{"@type":"BreadcrumbList","@id":"https:\/\/tothenewco.pro\/blog\/postgresql-with-grails\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog#listItem","position":1,"name":"Home","item":"https:\/\/tothenewco.pro\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/grails\/#listItem","name":"Grails"}},{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/grails\/#listItem","position":2,"name":"Grails","item":"https:\/\/tothenewco.pro\/blog\/category\/grails\/","nextItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/postgresql-with-grails\/#listItem","name":"PostgreSQL with Grails"},"previousItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/postgresql-with-grails\/#listItem","position":3,"name":"PostgreSQL with Grails","previousItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/grails\/#listItem","name":"Grails"}}]},{"@type":"Organization","@id":"https:\/\/tothenewco.pro\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/tothenewco.pro\/blog\/"},{"@type":"Person","@id":"https:\/\/tothenewco.pro\/blog\/author\/gunpreet\/#author","url":"https:\/\/tothenewco.pro\/blog\/author\/gunpreet\/","name":"Gunpreet","image":{"@type":"ImageObject","@id":"https:\/\/tothenewco.pro\/blog\/postgresql-with-grails\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/3e7126538ec370ae8b31cfa6bc32cf2167935c3551e5b3a8cd3af413358ee07a?s=96&d=mm&r=g","width":96,"height":96,"caption":"Gunpreet"}},{"@type":"WebPage","@id":"https:\/\/tothenewco.pro\/blog\/postgresql-with-grails\/#webpage","url":"https:\/\/tothenewco.pro\/blog\/postgresql-with-grails\/","name":"PostgreSQL with Grails | TO THE NEW Blog","description":"Currently in my Grails project I am using PostgreSQL database so I thought to share my knowledge with everyone. I am using it on Linux operating system. I am mentioning all the steps that I followed to integrate PostgreSQL with Grails . Step 1: Install PostgreSQL on your system To install postgreSql [java] sudo apt-get","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/tothenewco.pro\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/tothenewco.pro\/blog\/postgresql-with-grails\/#breadcrumblist"},"author":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/gunpreet\/#author"},"creator":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/gunpreet\/#author"},"datePublished":"2012-09-05T10:54:43+05:30","dateModified":"2016-12-19T15:16:41+05:30"},{"@type":"WebSite","@id":"https:\/\/tothenewco.pro\/blog\/#website","url":"https:\/\/tothenewco.pro\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/tothenewco.pro\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"PostgreSQL with Grails | TO THE NEW Blog","og:description":"Currently in my Grails project I am using PostgreSQL database so I thought to share my knowledge with everyone. I am using it on Linux operating system. I am mentioning all the steps that I followed to integrate PostgreSQL with Grails . Step 1: Install PostgreSQL on your system To install postgreSql [java] sudo apt-get","og:url":"https:\/\/tothenewco.pro\/blog\/postgresql-with-grails\/","og:image":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"PostgreSQL with Grails | TO THE NEW Blog","twitter:description":"Currently in my Grails project I am using PostgreSQL database so I thought to share my knowledge with everyone. I am using it on Linux operating system. I am mentioning all the steps that I followed to integrate PostgreSQL with Grails . Step 1: Install PostgreSQL on your system To install postgreSql [java] sudo apt-get","twitter:image":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"7151","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"blog","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 16:16:36","updated":"2024-02-29 08:54:33","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/tothenewco.pro\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/tothenewco.pro\/blog\/category\/grails\/\" title=\"Grails\">Grails<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPostgreSQL with Grails\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/tothenewco.pro\/blog"},{"label":"Grails","link":"https:\/\/tothenewco.pro\/blog\/category\/grails\/"},{"label":"PostgreSQL with Grails","link":"https:\/\/tothenewco.pro\/blog\/postgresql-with-grails\/"}],"_links":{"self":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/7151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/users\/44"}],"replies":[{"embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/comments?post=7151"}],"version-history":[{"count":0,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/7151\/revisions"}],"wp:attachment":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/media?parent=7151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/categories?post=7151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/tags?post=7151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}