{"id":714,"date":"2022-08-16T13:21:38","date_gmt":"2022-08-16T04:21:38","guid":{"rendered":"https:\/\/www.daymore.com\/?p=714"},"modified":"2022-08-16T20:57:33","modified_gmt":"2022-08-16T11:57:33","slug":"ios-background","status":"publish","type":"post","link":"https:\/\/blog.daymore.com\/?p=714","title":{"rendered":"iOS Background"},"content":{"rendered":"\n<p>iOS \uc571\uc740 \ubc31\uadf8\ub77c\uc6b4\ub4dc \uc0c1\ud0dc\ub85c \uc9c4\uc785\uc2dc \uae30\ubcf8\uc801\uc73c\ub85c \ubaa8\ub4e0 \uae30\ub2a5\uc774 \uba48\ucd98\ub2e4. \uc608\ub97c \ub4e4\uc5b4 \uc8fc\uae30\uc801\uc778 \ud0c0\uc774\uba38\ub97c \ub3cc\ub824\uc11c \ub370\uc774\ud130\ub97c \uc8fc\uae30\uc801\uc73c\ub85c \uc11c\ubc84\uc640 \uc8fc\uace0 \ubc1b\ub294 \uc77c\uc774 \uc571\uc774 \uc2e4\ud589 \uc0c1\ud0dc\uc5d0\uc11c\ub294 \ub2f9\uc5f0\ud788 \uc798 \ub418\uc9c0\ub9cc \ubc31\uadf8\ub77c\uc6b4\ub4dc \uc0c1\ud0dc\ub85c \uc9c4\uc785\ud558\uba74 \ub418\uc9c8 \uc54a\ub294\ub2e4.<br>\uc571\uc774 \ubc31\uadf8\ub77c\uc6b4\ub4dc\ub85c \ub4e4\uc5b4\uac00\uba74 \uc5bc\ub9c8\ub3d9\uc548\uc740 \uc798 \uc2e4\ud589\ub418\ub294\uac83 \ucc98\ub7fc \ubcf4\uc774\uc9c0\ub9cc \uace7 \uba48\ucda4 \uc0c1\ud0dc\ub85c \uc9c4\uc785\ud55c\ub2e4.<\/p>\n\n\n\n<p>\uadf8\ub798\uc11c \uc571\uc774 \ubc31\uadf8\ub77c\uc6b4\ub4dc\uc5d0 \uc9c4\uc785\ud574\ub3c4 \ucd5c\uc18c\ud55c\uc758 \ud544\uc694\ud55c \uc791\uc5c5\uc744 \uc704\ud574\uc11c \ubc31\uadf8\ub77c\uc6b4\ub4dc \uc791\uc5c5\uc744 \ub4f1\ub85d\ud558\uace0 \uc694\uccad\ud574\uc57c \ud55c\ub2e4.<br>Target &gt; Sign &amp; Capabilities &gt; Background modes \uc5d0\uc11c &#8220;Background fetch&#8221;, &#8220;Background Processing&#8221; \ub450\uac00\uc9c0\ub97c \uccb4\ud06c\ud55c\ub2e4. info.plist \ud30c\uc77c\uc5d0 BGTaskSchedulerPermittedIdentifiers \ud56d\ubaa9\uc744 \ucd94\uac00\ud558\uace0 \uc544\ub798\uc5d0 \uc608\ub85c \ub4e0 identifier\ub97c \ucd94\uac00\ud55c\ub2e4.<\/p>\n\n\n\n<p>\uc608\ub97c \ub4e4\uc5b4\uc11c \uc544\ub798\ucc98\ub7fc identifier\ub97c \uc9c0\uc815\ud558\uace0 \uc571\ub0b4\uc5d0\uc11c \uc0ac\uc6a9\ud55c\ub2e4.<br>Background fetch identifier : &#8220;com.daymore.background.fetch&#8221;<br>Background processing identifier : &#8220;com.daymore.background.processing&#8221;<\/p>\n\n\n\n<p>Background fetch \uc640 processing \uc758 \ucc28\uc774\uc810\uc740 \uac00\ubcbc\uc6b4 \uc791\uc5c5\uc774\ub77c\uba74 fetch, \uc880 \ub354 \ubb34\uac70\uc6b4 \uc791\uc5c5\uc774\ub77c\uba74 processing \uc5d0\uc11c \uc9c4\ud589\ud55c\ub2e4\uace0 \uc560\ud50c \ubb38\uc11c\uc5d0 \ub098\uc640 \uc788\uc9c0\ub9cc \uba85\ud655\ud55c \uad6c\ubd84\uc774 \uc5c6\ub2e4.<\/p>\n\n\n\n<p>\uacbd\ud5d8\uc0c1(\uc774\ub807\uc9c0 \uc54a\uc744 \uc218\ub3c4 \uc788\ub2e4) fetch\ub9cc \ub4f1\ub85d\ud558\uba74 \uc2dc\uc2a4\ud15c\uc5d0\uc11c \uc798 \ud638\ucd9c\ud574 \uc8fc\uc9c0\ub9cc processing\ub9cc \ub4f1\ub85d\ud55c \uacbd\uc6b0 \uc2dc\uc2a4\ud15c\uc5d0\uc11c \uac70\uc758 \ud638\ucd9c\ud574 \uc8fc\uc9c0 \uc54a\uc544\uc11c \ubc31\uadf8\ub77c\uc6b4\ub4dc \uc791\uc5c5 \uac70\uc758 \uc774\ub8e8\uc5b4 \uc9c0\uc9c0 \uc54a\uc544 2\uac1c \ubaa8\ub450 \ub4f1\ub85d\ud588\ub2e4. 2\uac1c \ubaa8\ub450 \ub4f1\ub85d\ud558\ub2c8\uae4c \uc8fc\uae30\uc801\uc73c\ub85c \uc798 \ud638\ucd9c\ub418\uc5c8\ub2e4. \ubc31\uadf8\ub77c\uc6b4\ub4dc \uc791\uc5c5\uc740 \uc2dc\uc2a4\ud15c\uc774 \ud638\ucd9c\ud574 \uc8fc\ub294\ub370 \uac1c\ubc1c\uc790\uac00 \ud638\ucd9c \uc8fc\uae30\ub97c 10\ubd84\uc73c\ub85c \uc124\uc815\ud558\ub354\ub77c\ub3c4 \uc5b8\uc81c \uc5bc\ub9c8\ub9cc\ud07c \ud638\ucd9c\ub420\uc9c0 \uc54c \uc218 \uc5c6\ub2e4. <\/p>\n\n\n\n<p>\uc608\uc2dc\ub85c AppDelegate.swift\uc5d0 \uc791\uc131\ud588\ub2e4. \uc5b4\ub514\ub4e0 \uc791\uc131 \uac00\ub2a5\ud558\ub2e4.<br>\uac00\uc7a5 \uc9dc\uc99d\ub098\ub294 \uc0c1\ud669\uc740 \uc571 \ubc31\uadf8\ub77c\uc6b4\ub4dc \uc0c1\ud0dc\uc5d0\uc11c \uc5b4\ub5a0\ud55c \ub370\uc774\ud130\ub97c \uc11c\ubc84\uc5d0 \ubcf4\ub0b4\uc57c \ud558\ub294 \uc0c1\ud669\uc774\uc5c8\ub2e4.<br>\uc571 \ubc31\uadf8\ub77c\uc6b4\ub4dc \uc0c1\ud669\uc5d0\uc11c\ub294 Data \ud615\uc744 \uc9c1\uc811 \ubcf4\ub0bc \uc218 \uc5c6\uace0 \ud30c\uc77c\ub9cc \uc5c5\ub85c\ub4dc \uac00\ub2a5\ud558\uace0 \ud074\ub85c\uc800 \ud615\uc2dd\uc758 \uc804\uc1a1 \uc644\ub8cc \ucc98\ub9ac\ub294 \uc548\ub418\uc11c delegate \ud568\uc218 \uad6c\ud604\uc73c\ub85c \ud574\uc57c\ud55c\ub2e4. \uadf8\ub807\uc9c0 \uc54a\uc73c\uba74 \ud06c\ub798\uc2dc \ubc1c\uc0dd\ud558\uac70\ub098 \ub3d9\uc791\ud558\uc9c0 \uc54a\ub294\ub2e4.<br>\uc774\ub97c \uad6c\ud604\ud558\uae30 \uc704\ud574 Custom Background Session\uc744 \ub9cc\ub4e4\uc5b4\uc57c \ud55c\ub2e4. \uad6c\uae00\uc5d0\uc11c \uac80\uc0c9\ud558\uc5ec \ucc38\uace0\ud574\uc11c \ub9cc\ub4e4\uc5c8\ub2e4.<\/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=\"\">\/\/ AppDelegate.swift\n\nfunc application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n\n    BGTaskScheduler.shared.register(forTaskWithIdentifier: \"com.daymore.background.fetch\", using: nil) { task in\n        self.handleBackground(task)\n        self.scheduleNext(\"com.daymore.background.fetch\")\n    }\n    BGTaskScheduler.shared.register(forTaskWithIdentifier: \"com.daymore.background.processing\", using: nil) { task in\n        self.handleBackground(task)\n        self.scheduleNext(\"com.daymore.background.processing\")\n    }\n}\n\nfunc handleBackground(task: BGTask) {\n    \/\/ work something\n    sendToServer([\"event\":\"1\", \"data\":\"test\"])\n    task.setTaskCompleted(success: true)\n}\n\nfunc scheduleNext(identifier: String) {\n    let req = BGAppRefreshTaskRequest(identifier: identifier)\n    req.earliestBeginDate = Date(timeIntervalSinceNow: 60*10)\n    try? BGTaskScheduler.shared.submit(req)\n}\n\nfunc applicationDidEnterBackground(_ application: UIApplication) {\n    scheduleNext(\"com.daymore.background.fetch\")\n    scheduleNext(\"com.daymore.background.processing\")\n}\n\nfunc sendToServer(_ dic: [String:Any]) {\n    guard let httpBody = try? JSONSerialization.data(withJSONObject: dic, options: []) else { return }\n        \n    let url = URL(string: \"https:\/\/daymore.com\/to\/upload\")\n    var req = URLRequest(url: U\"https:\")\n    req.httpMethod = \"POST\"\n    req.setValue(\"application\/json\", forHTTPHeaderField: \"Content-Type\")\n    req.setValue(\"authorization_value\", forHTTPHeaderField: \"Authorization\")\n        \n    let identifier = UUID().uuidString\n    let file = URL(fileURLWithPath: NSTemporaryDirectory().appending(identifier))\n    try? httpBody.write(to: file)\n        \n    let task = BackgroundSession.shared.session.uploadTask(with: req, fromFile: file)\n    BackgroundSession.shared.begin(taskId: task.taskIdentifier, dataId: identifier)\n    task.resume()\n}\n\nfunc application(_ application: UIApplication, handleEventsForBackgroundURLSession identifier: String, completionHandler: @escaping () -> Void) {\n    BackgroundSession.shared.saveCompletionHandler = completionHandler\n}<\/pre>\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=\"\">\/\/ BackgroundSession.swift\n\nclass BackgroundSession: NSObject {\n    static let shared = BackgroundSession()\n    static let identifier = \"com.daymore.background.session\"\n    \n    var session: URLSession!\n    var tasks = [Int:String]()\n    \n    var saveCompletionHandler: (() -> Void)?\n    \n    private override init() {\n        super.init()\n        let conf = URLSessionConfiguration.background(withIdentifier: BackgroundSession.identifier)\n        session = URLSession(configuration: conf, delegate: self, delegateQueue: nil)\n    }\n    \n    func begin(taskId: Int, dataId: String) {\n        tasks[taskId] = dataId\n    }\n    \n    func end(taskId: Int) {\n        tasks.removeValue(forKey: taskId)\n    }\n}\n\nextension BackgroundSession: URLSessionDelegate {\n    func urlSessionDidFinishEvents(forBackgroundURLSession session: URLSession) {\n        DispatchQueue.main.async {\n            self.saveCompletionHandler?()\n            self.saveCompletionHandler = nil\n        }\n    }\n}\n\nextension BackgroundSession: URLSessionTaskDelegate {\n    func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {\n        if let e = error {\n            print(\"background upload error \\(e)\")\n            return\n        }\n        \n        if let dataId = tasks[task.taskIdentifier] {\n            let file = URL(fileURLWithPath: NSTemporaryDirectory().appending(dataId))\n            try? FileManager.default.removeItem(at: file)\n        }\n        \n        end(taskId: task.taskIdentifier)\n    }\n}\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>iOS \uc571\uc740 \ubc31\uadf8\ub77c\uc6b4\ub4dc \uc0c1\ud0dc\ub85c \uc9c4\uc785\uc2dc \uae30\ubcf8\uc801\uc73c\ub85c \ubaa8\ub4e0 \uae30\ub2a5\uc774 \uba48\ucd98\ub2e4. \uc608\ub97c \ub4e4\uc5b4 \uc8fc\uae30\uc801\uc778 \ud0c0\uc774\uba38\ub97c \ub3cc\ub824\uc11c \ub370\uc774\ud130\ub97c \uc8fc\uae30\uc801\uc73c\ub85c \uc11c\ubc84\uc640 \uc8fc\uace0 \ubc1b\ub294 \uc77c\uc774 \uc571\uc774 \uc2e4\ud589 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[58,23],"tags":[223,224,51,226,227,225,234,236,228,235,77],"class_list":["post-714","post","type-post","status-publish","format-standard","hentry","category-ios","category-swift","tag-background","tag-fetch","tag-ios","tag-modes","tag-post","tag-processing","tag-send","tag-session","tag-task","tag-url","tag-xcode"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>iOS Background - \uae00\uc4f0\uae30, IT \uc791\uc740 \uc9c0\uc2dd<\/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:\/\/blog.daymore.com\/?p=714\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"iOS Background - \uae00\uc4f0\uae30, IT \uc791\uc740 \uc9c0\uc2dd\" \/>\n<meta property=\"og:description\" content=\"iOS \uc571\uc740 \ubc31\uadf8\ub77c\uc6b4\ub4dc \uc0c1\ud0dc\ub85c \uc9c4\uc785\uc2dc \uae30\ubcf8\uc801\uc73c\ub85c \ubaa8\ub4e0 \uae30\ub2a5\uc774 \uba48\ucd98\ub2e4. \uc608\ub97c \ub4e4\uc5b4 \uc8fc\uae30\uc801\uc778 \ud0c0\uc774\uba38\ub97c \ub3cc\ub824\uc11c \ub370\uc774\ud130\ub97c \uc8fc\uae30\uc801\uc73c\ub85c \uc11c\ubc84\uc640 \uc8fc\uace0 \ubc1b\ub294 \uc77c\uc774 \uc571\uc774 \uc2e4\ud589 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.daymore.com\/?p=714\" \/>\n<meta property=\"og:site_name\" content=\"\uae00\uc4f0\uae30, IT \uc791\uc740 \uc9c0\uc2dd\" \/>\n<meta property=\"article:published_time\" content=\"2022-08-16T04:21:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-08-16T11:57:33+00:00\" \/>\n<meta name=\"author\" content=\"daymore\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"daymore\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.daymore.com\/?p=714\",\"url\":\"https:\/\/blog.daymore.com\/?p=714\",\"name\":\"iOS Background - \uae00\uc4f0\uae30, IT \uc791\uc740 \uc9c0\uc2dd\",\"isPartOf\":{\"@id\":\"https:\/\/blog.daymore.com\/#website\"},\"datePublished\":\"2022-08-16T04:21:38+00:00\",\"dateModified\":\"2022-08-16T11:57:33+00:00\",\"author\":{\"@id\":\"https:\/\/blog.daymore.com\/#\/schema\/person\/d2a6b2e27e0ca7aa5736172b432c1763\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.daymore.com\/?p=714#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.daymore.com\/?p=714\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.daymore.com\/?p=714#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.daymore.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"iOS Background\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.daymore.com\/#website\",\"url\":\"https:\/\/blog.daymore.com\/\",\"name\":\"\uae00\uc4f0\uae30, IT \uc791\uc740 \uc9c0\uc2dd\",\"description\":\"blog.daymore.com\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.daymore.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.daymore.com\/#\/schema\/person\/d2a6b2e27e0ca7aa5736172b432c1763\",\"name\":\"daymore\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/blog.daymore.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f7c8fbf7472c334702e25bab1089b35096ea0daf226ea3e22f66568aba3570e6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f7c8fbf7472c334702e25bab1089b35096ea0daf226ea3e22f66568aba3570e6?s=96&d=mm&r=g\",\"caption\":\"daymore\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"iOS Background - \uae00\uc4f0\uae30, IT \uc791\uc740 \uc9c0\uc2dd","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:\/\/blog.daymore.com\/?p=714","og_locale":"ko_KR","og_type":"article","og_title":"iOS Background - \uae00\uc4f0\uae30, IT \uc791\uc740 \uc9c0\uc2dd","og_description":"iOS \uc571\uc740 \ubc31\uadf8\ub77c\uc6b4\ub4dc \uc0c1\ud0dc\ub85c \uc9c4\uc785\uc2dc \uae30\ubcf8\uc801\uc73c\ub85c \ubaa8\ub4e0 \uae30\ub2a5\uc774 \uba48\ucd98\ub2e4. \uc608\ub97c \ub4e4\uc5b4 \uc8fc\uae30\uc801\uc778 \ud0c0\uc774\uba38\ub97c \ub3cc\ub824\uc11c \ub370\uc774\ud130\ub97c \uc8fc\uae30\uc801\uc73c\ub85c \uc11c\ubc84\uc640 \uc8fc\uace0 \ubc1b\ub294 \uc77c\uc774 \uc571\uc774 \uc2e4\ud589 [&hellip;]","og_url":"https:\/\/blog.daymore.com\/?p=714","og_site_name":"\uae00\uc4f0\uae30, IT \uc791\uc740 \uc9c0\uc2dd","article_published_time":"2022-08-16T04:21:38+00:00","article_modified_time":"2022-08-16T11:57:33+00:00","author":"daymore","twitter_card":"summary_large_image","twitter_misc":{"\uae00\uc4f4\uc774":"daymore","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"3\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.daymore.com\/?p=714","url":"https:\/\/blog.daymore.com\/?p=714","name":"iOS Background - \uae00\uc4f0\uae30, IT \uc791\uc740 \uc9c0\uc2dd","isPartOf":{"@id":"https:\/\/blog.daymore.com\/#website"},"datePublished":"2022-08-16T04:21:38+00:00","dateModified":"2022-08-16T11:57:33+00:00","author":{"@id":"https:\/\/blog.daymore.com\/#\/schema\/person\/d2a6b2e27e0ca7aa5736172b432c1763"},"breadcrumb":{"@id":"https:\/\/blog.daymore.com\/?p=714#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.daymore.com\/?p=714"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.daymore.com\/?p=714#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.daymore.com\/"},{"@type":"ListItem","position":2,"name":"iOS Background"}]},{"@type":"WebSite","@id":"https:\/\/blog.daymore.com\/#website","url":"https:\/\/blog.daymore.com\/","name":"\uae00\uc4f0\uae30, IT \uc791\uc740 \uc9c0\uc2dd","description":"blog.daymore.com","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.daymore.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Person","@id":"https:\/\/blog.daymore.com\/#\/schema\/person\/d2a6b2e27e0ca7aa5736172b432c1763","name":"daymore","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/blog.daymore.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f7c8fbf7472c334702e25bab1089b35096ea0daf226ea3e22f66568aba3570e6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f7c8fbf7472c334702e25bab1089b35096ea0daf226ea3e22f66568aba3570e6?s=96&d=mm&r=g","caption":"daymore"}}]}},"_links":{"self":[{"href":"https:\/\/blog.daymore.com\/index.php?rest_route=\/wp\/v2\/posts\/714","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.daymore.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.daymore.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.daymore.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.daymore.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=714"}],"version-history":[{"count":19,"href":"https:\/\/blog.daymore.com\/index.php?rest_route=\/wp\/v2\/posts\/714\/revisions"}],"predecessor-version":[{"id":773,"href":"https:\/\/blog.daymore.com\/index.php?rest_route=\/wp\/v2\/posts\/714\/revisions\/773"}],"wp:attachment":[{"href":"https:\/\/blog.daymore.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=714"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.daymore.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=714"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.daymore.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=714"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}