{"id":1028,"date":"2023-10-11T19:23:48","date_gmt":"2023-10-11T16:23:48","guid":{"rendered":"https:\/\/www.juustila.com\/antti\/?p=1028"},"modified":"2023-10-11T19:23:48","modified_gmt":"2023-10-11T16:23:48","slug":"no-more-sadness","status":"publish","type":"post","link":"https:\/\/www.juustila.com\/antti\/2023\/10\/11\/no-more-sadness\/","title":{"rendered":"No more sadness"},"content":{"rendered":"\n<p>Just checked out for my Computers and computer networks course that there is no more <a href=\"https:\/\/www.juustila.com\/antti\/2023\/03\/10\/sadness\/\" data-type=\"post\" data-id=\"997\">sadness<\/a> since the Willab weather service works again!<\/p>\n\n\n\n<p>The API has changed from <code>HTTP<\/code> to <code>HTTPS<\/code>, and the <code>JSON<\/code> data structure returned has also changed a little. So I needed to change the <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/anttijuu\/LinnanmaaWeather\" data-type=\"URL\" data-id=\"https:\/\/github.com\/anttijuu\/LinnanmaaWeather\" target=\"_blank\">demo<\/a> <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/anttijuu\/LinnanmaaWeather-ios\" target=\"_blank\">apps<\/a> that get the current weather from the service.<\/p>\n\n\n\n<p>This week I&#8217;ve again taught how to use curl from the command line, how to see the <code>HTTP<\/code> traffic using Wireshark and how the two demo apps do <code>HTTP GET<\/code> to access the weather data from the service.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just checked out for my Computers and computer networks course that there is no more sadness since the Willab weather service works again! The API has changed from HTTP to HTTPS, and the JSON data structure returned has also changed a little. So I needed to change the demo apps that get the current weather &hellip; <a href=\"https:\/\/www.juustila.com\/antti\/2023\/10\/11\/no-more-sadness\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;No more sadness&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[2,1],"tags":[121,108,122,77,46,12],"class_list":["post-1028","post","type-post","status-publish","format-standard","hentry","category-coding","category-yleinen","tag-android","tag-http","tag-ios","tag-java","tag-swift","tag-teaching"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.juustila.com\/antti\/wp-json\/wp\/v2\/posts\/1028","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.juustila.com\/antti\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.juustila.com\/antti\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.juustila.com\/antti\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.juustila.com\/antti\/wp-json\/wp\/v2\/comments?post=1028"}],"version-history":[{"count":1,"href":"https:\/\/www.juustila.com\/antti\/wp-json\/wp\/v2\/posts\/1028\/revisions"}],"predecessor-version":[{"id":1029,"href":"https:\/\/www.juustila.com\/antti\/wp-json\/wp\/v2\/posts\/1028\/revisions\/1029"}],"wp:attachment":[{"href":"https:\/\/www.juustila.com\/antti\/wp-json\/wp\/v2\/media?parent=1028"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.juustila.com\/antti\/wp-json\/wp\/v2\/categories?post=1028"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.juustila.com\/antti\/wp-json\/wp\/v2\/tags?post=1028"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}