{"id":156,"date":"2017-04-25T02:03:09","date_gmt":"2017-04-25T02:03:09","guid":{"rendered":"http:\/\/redquark.com\/wp\/?p=156"},"modified":"2017-04-25T02:03:09","modified_gmt":"2017-04-25T02:03:09","slug":"ios-networking-with-swift-lesson-5-authenticating-requests","status":"publish","type":"post","link":"https:\/\/redquark.com\/wp\/?p=156","title":{"rendered":"iOS Networking with Swift: Lesson 5: Authenticating Requests"},"content":{"rendered":"<p>If you are attempting the quiz &#8220;Which Methods to Use?&#8221; in &#8220;Lesson 5: Authenticating Requests&#8221; (<em>aka<\/em> &#8220;Lesson 3&#8221;), don&#8217;t bother. The API has changed since the quiz was written and finding the old API is darn near impossible. I eventually had to get on &#8220;The Movie Database Support&#8221; website (after a long, round-about search of the internet) and find a support request that just happened to mention the genres method. For completists, here are the methods old and new:<\/p>\n<h2>Old (Quiz Answers)<\/h2>\n<pre><code>\/genre\/{id}\/movies\r\n\/account\/{id}\/favorite\/movies\r\n\/account\/{id}\/favorite<\/code><\/pre>\n<h2>New (For Actual Use)<\/h2>\n<pre><code>\/genre\/movie\/list\r\n\/account\/{account_id}\/favorite\/movies\r\n\/account\/{account_id}\/favorite<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>If you are attempting the quiz &#8220;Which Methods to Use?&#8221; in &#8220;Lesson 5: Authenticating Requests&#8221; (aka &#8220;Lesson 3&#8221;), don&#8217;t bother. The API has changed since the quiz was written and finding the old API is darn near impossible. I eventually had to get on &#8220;The Movie Database Support&#8221; website (after a long, round-about search of [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-156","post","type-post","status-publish","format-standard","hentry","category-ios-developer-nanodegree"],"_links":{"self":[{"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=156"}],"version-history":[{"count":1,"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/156\/revisions"}],"predecessor-version":[{"id":157,"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/156\/revisions\/157"}],"wp:attachment":[{"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}