{"id":37117,"date":"2024-11-01T09:55:00","date_gmt":"2024-11-01T09:55:00","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=37117"},"modified":"2024-11-01T11:36:35","modified_gmt":"2024-11-01T11:36:35","slug":"java-android-app-development-course-storing-in-a-database","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/37117\/","title":{"rendered":"Java Android App Development Course, Storing in a Database"},"content":{"rendered":"<div class=\"blog-post\">\n<p>Data storage is an essential element in Android application development. Various storage methods can be used to securely store user data, but among them, databases are the most commonly used. In this article, we will explore in detail how to create an SQLite database using Java in Android and perform CRUD (Create, Read, Update, Delete) operations on the data.<\/p>\n<h2>1. What is a Database?<\/h2>\n<p>A database is a system for storing and managing information in an organized manner. In Android, SQLite, a relational database, is primarily used. SQLite is a lightweight database suitable for small applications, operating as a file-based system that can be easily used without a separate server.<\/p>\n<h2>2. Setting Up SQLite Database<\/h2>\n<p>After creating an Android project, you need to set up the SQLite database. It is common to write a helper class to create and manage the database.<\/p>\n<pre><code>package com.example.myapp.database;\n\nimport android.content.Context;\nimport android.database.sqlite.SQLiteDatabase;\nimport android.database.sqlite.SQLiteOpenHelper;\n\npublic class DatabaseHelper extends SQLiteOpenHelper {\n    private static final int DATABASE_VERSION = 1;\n    private static final String DATABASE_NAME = \"myApp.db\";\n    public static final String TABLE_NAME = \"users\";\n    \n    public static final String COLUMN_ID = \"_id\";\n    public static final String COLUMN_NAME = \"name\";\n    public static final String COLUMN_EMAIL = \"email\";\n\n    private static final String TABLE_CREATE =\n            \"CREATE TABLE \" + TABLE_NAME + \" (\" +\n            COLUMN_ID + \" INTEGER PRIMARY KEY AUTOINCREMENT, \" +\n            COLUMN_NAME + \" TEXT, \" +\n            COLUMN_EMAIL + \" TEXT);\";\n\n    public DatabaseHelper(Context context) {\n        super(context, DATABASE_NAME, null, DATABASE_VERSION);\n    }\n\n    @Override\n    public void onCreate(SQLiteDatabase db) {\n        db.execSQL(TABLE_CREATE);\n    }\n\n    @Override\n    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n        db.execSQL(\"DROP TABLE IF EXISTS \" + TABLE_NAME);\n        onCreate(db);\n    }\n}\n<\/code><\/pre>\n<h2>3. Inserting Data<\/h2>\n<p>To add data to the database, use the SQLiteDatabase object to call the insert() method. The example below shows how to add user information to the database.<\/p>\n<pre><code>package com.example.myapp.database;\n\nimport android.content.ContentValues;\nimport android.content.Context;\nimport android.database.sqlite.SQLiteDatabase;\n\npublic class UserRepository {\n    private DatabaseHelper dbHelper;\n\n    public UserRepository(Context context) {\n        dbHelper = new DatabaseHelper(context);\n    }\n\n    public void addUser(String name, String email) {\n        SQLiteDatabase db = dbHelper.getWritableDatabase();\n        \n        ContentValues values = new ContentValues();\n        values.put(DatabaseHelper.COLUMN_NAME, name);\n        values.put(DatabaseHelper.COLUMN_EMAIL, email);\n\n        db.insert(DatabaseHelper.TABLE_NAME, null, values);\n        db.close();\n    }\n}\n<\/code><\/pre>\n<h2>4. Retrieving Data<\/h2>\n<p>To retrieve stored data, use the query() method. This method returns a Cursor object, through which you can access the data.<\/p>\n<pre><code>package com.example.myapp.database;\n\nimport android.content.Context;\nimport android.database.Cursor;\nimport android.database.sqlite.SQLiteDatabase;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic class UserRepository {\n    \/\/ ... (existing code)\n\n    public List<user> getAllUsers() {\n        List<user> users = new ArrayList&lt;&gt;();\n        SQLiteDatabase db = dbHelper.getReadableDatabase();\n        \n        Cursor cursor = db.query(DatabaseHelper.TABLE_NAME, null, null, null, null, null, null);\n        \n        if (cursor.moveToFirst()) {\n            do {\n                User user = new User();\n                user.setId(cursor.getInt(cursor.getColumnIndex(DatabaseHelper.COLUMN_ID)));\n                user.setName(cursor.getString(cursor.getColumnIndex(DatabaseHelper.COLUMN_NAME)));\n                user.setEmail(cursor.getString(cursor.getColumnIndex(DatabaseHelper.COLUMN_EMAIL)));\n                users.add(user);\n            } while (cursor.moveToNext());\n        }\n        \n        cursor.close();\n        db.close();\n        return users;\n    }\n}\n<\/user><\/user><\/code><\/pre>\n<h2>5. Updating Data<\/h2>\n<p>To update existing data, use the update() method. The example below shows how to change a specific user&#8217;s email.<\/p>\n<pre><code>package com.example.myapp.database;\n\nimport android.content.ContentValues;\nimport android.content.Context;\nimport android.database.sqlite.SQLiteDatabase;\n\npublic class UserRepository {\n    \/\/ ... (existing code)\n\n    public void updateUser(int id, String email) {\n        SQLiteDatabase db = dbHelper.getWritableDatabase();\n        \n        ContentValues values = new ContentValues();\n        values.put(DatabaseHelper.COLUMN_EMAIL, email);\n\n        db.update(DatabaseHelper.TABLE_NAME, values, DatabaseHelper.COLUMN_ID + \" = ?\", new String[]{String.valueOf(id)});\n        db.close();\n    }\n}\n<\/code><\/pre>\n<h2>6. Deleting Data<\/h2>\n<p>To delete specific data, use the delete() method. The example below explains how to delete a specific user&#8217;s data.<\/p>\n<pre><code>package com.example.myapp.database;\n\nimport android.content.Context;\nimport android.database.sqlite.SQLiteDatabase;\n\npublic class UserRepository {\n    \/\/ ... (existing code)\n\n    public void deleteUser(int id) {\n        SQLiteDatabase db = dbHelper.getWritableDatabase();\n        db.delete(DatabaseHelper.TABLE_NAME, DatabaseHelper.COLUMN_ID + \" = ?\", new String[]{String.valueOf(id)});\n        db.close();\n    }\n}\n<\/code><\/pre>\n<h2>7. Complete Code Example<\/h2>\n<p>The complete example, which includes all the methods above, can be compiled as follows.<\/p>\n<pre><code>package com.example.myapp.database;\n\nimport android.content.ContentValues;\nimport android.content.Context;\nimport android.database.Cursor;\nimport android.database.sqlite.SQLiteDatabase;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic class UserRepository {\n    private DatabaseHelper dbHelper;\n\n    public UserRepository(Context context) {\n        dbHelper = new DatabaseHelper(context);\n    }\n\n    public void addUser(String name, String email) {\n        SQLiteDatabase db = dbHelper.getWritableDatabase();\n        \n        ContentValues values = new ContentValues();\n        values.put(DatabaseHelper.COLUMN_NAME, name);\n        values.put(DatabaseHelper.COLUMN_EMAIL, email);\n\n        db.insert(DatabaseHelper.TABLE_NAME, null, values);\n        db.close();\n    }\n\n    public List<user> getAllUsers() {\n        List<user> users = new ArrayList&lt;&gt;();\n        SQLiteDatabase db = dbHelper.getReadableDatabase();\n        \n        Cursor cursor = db.query(DatabaseHelper.TABLE_NAME, null, null, null, null, null, null);\n        \n        if (cursor.moveToFirst()) {\n            do {\n                User user = new User();\n                user.setId(cursor.getInt(cursor.getColumnIndex(DatabaseHelper.COLUMN_ID)));\n                user.setName(cursor.getString(cursor.getColumnIndex(DatabaseHelper.COLUMN_NAME)));\n                user.setEmail(cursor.getString(cursor.getColumnIndex(DatabaseHelper.COLUMN_EMAIL)));\n                users.add(user);\n            } while (cursor.moveToNext());\n        }\n        \n        cursor.close();\n        db.close();\n        return users;\n    }\n\n    public void updateUser(int id, String email) {\n        SQLiteDatabase db = dbHelper.getWritableDatabase();\n        \n        ContentValues values = new ContentValues();\n        values.put(DatabaseHelper.COLUMN_EMAIL, email);\n\n        db.update(DatabaseHelper.TABLE_NAME, values, DatabaseHelper.COLUMN_ID + \" = ?\", new String[]{String.valueOf(id)});\n        db.close();\n    }\n\n    public void deleteUser(int id) {\n        SQLiteDatabase db = dbHelper.getWritableDatabase();\n        db.delete(DatabaseHelper.TABLE_NAME, DatabaseHelper.COLUMN_ID + \" = ?\", new String[]{String.valueOf(id)});\n        db.close();\n    }\n}\n<\/user><\/user><\/code><\/pre>\n<h2>8. Summary and Conclusion<\/h2>\n<p>In this tutorial, we learned how to perform basic CRUD operations using the SQLite database in Android. Databases play an essential role in managing data within applications, and SQLite is particularly widely used in the Android environment. If a more complex data storage solution is required, considering the Room Persistence Library is also an option. Room provides an abstraction layer over the SQLite database, making database operations easier.<\/p>\n<h2>9. Additional Resources and Reference Links<\/h2>\n<ul>\n<li><a href=\"https:\/\/developer.android.com\/reference\/android\/database\/sqlite\/SQLiteOpenHelper\">Official SQLiteOpenHelper Documentation<\/a><\/li>\n<li><a href=\"https:\/\/developer.android.com\/training\/data-storage\/sqlite\">Official Guide to Android Data Storage<\/a><\/li>\n<li><a href=\"https:\/\/developer.android.com\/training\/data-storage\/room\">Official Room Persistence Library Documentation<\/a><\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Data storage is an essential element in Android application development. Various storage methods can be used to securely store user data, but among them, databases are the most commonly used. In this article, we will explore in detail how to create an SQLite database using Java in Android and perform CRUD (Create, Read, Update, Delete) &hellip; <a href=\"https:\/\/atmokpo.com\/w\/37117\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;Java Android App Development Course, Storing in a Database&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[137],"tags":[],"class_list":["post-37117","post","type-post","status-publish","format-standard","hentry","category-java-android-app-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Java Android App Development Course, Storing in a Database - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/37117\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Java Android App Development Course, Storing in a Database - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"Data storage is an essential element in Android application development. Various storage methods can be used to securely store user data, but among them, databases are the most commonly used. In this article, we will explore in detail how to create an SQLite database using Java in Android and perform CRUD (Create, Read, Update, Delete) &hellip; \ub354 \ubcf4\uae30 &quot;Java Android App Development Course, Storing in a Database&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/37117\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T09:55:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-01T11:36:35+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/37117\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/37117\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"Java Android App Development Course, Storing in a Database\",\"datePublished\":\"2024-11-01T09:55:00+00:00\",\"dateModified\":\"2024-11-01T11:36:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/37117\/\"},\"wordCount\":352,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"Java Android app development\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/37117\/\",\"url\":\"https:\/\/atmokpo.com\/w\/37117\/\",\"name\":\"Java Android App Development Course, Storing in a Database - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T09:55:00+00:00\",\"dateModified\":\"2024-11-01T11:36:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/37117\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/37117\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/37117\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java Android App Development Course, Storing in a Database\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Java Android App Development Course, Storing in a Database - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/37117\/","og_locale":"ko_KR","og_type":"article","og_title":"Java Android App Development Course, Storing in a Database - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"Data storage is an essential element in Android application development. Various storage methods can be used to securely store user data, but among them, databases are the most commonly used. In this article, we will explore in detail how to create an SQLite database using Java in Android and perform CRUD (Create, Read, Update, Delete) &hellip; \ub354 \ubcf4\uae30 \"Java Android App Development Course, Storing in a Database\"","og_url":"https:\/\/atmokpo.com\/w\/37117\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T09:55:00+00:00","article_modified_time":"2024-11-01T11:36:35+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"5\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/37117\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/37117\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"Java Android App Development Course, Storing in a Database","datePublished":"2024-11-01T09:55:00+00:00","dateModified":"2024-11-01T11:36:35+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/37117\/"},"wordCount":352,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["Java Android app development"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/37117\/","url":"https:\/\/atmokpo.com\/w\/37117\/","name":"Java Android App Development Course, Storing in a Database - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T09:55:00+00:00","dateModified":"2024-11-01T11:36:35+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/37117\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/37117\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/37117\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"Java Android App Development Course, Storing in a Database"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/37117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=37117"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/37117\/revisions"}],"predecessor-version":[{"id":37118,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/37117\/revisions\/37118"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=37117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=37117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=37117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}