{"id":149,"date":"2003-08-03T21:31:00","date_gmt":"2003-08-04T01:31:00","guid":{"rendered":"http:\/\/www.markbaker.ca\/wp\/?p=164"},"modified":"2003-08-03T21:31:00","modified_gmt":"2003-08-04T01:31:00","slug":"look-past-the-browser","status":"publish","type":"post","link":"http:\/\/www.markbaker.ca\/blog\/2003\/08\/look-past-the-browser\/","title":{"rendered":"Look past the browser"},"content":{"rendered":"<p><a href=\"http:\/\/www.rds.com\/doug\/weblogs\/webServicesStrategies\/2003\/07\/29.html#a1004\">Doug responds<\/a>,\nin reference to using URIs;<\/p>\n\n<blockquote>\nThis implies that the document is associated with (tightly coupled to) a fixed location as specified in the URI.\n<\/blockquote>\n\n<p>Not at all.  Are you aware that the machine that you&#8217;re grabbing my blog from\nrelocated up the street five months ago?  In the odd chance that you were, did\nany of your links to my blog have to change, or were you or any other linker to my\nsite impacted in any way?  No, of course not.  A http URI is not location\ndependent if it uses a DNS name (as opposed to an IP address), because a DNS name\ncan map to multiple IP addresses over time.<\/p>\n\n<p>He also writes;<\/p>\n\n<blockquote>\nYou can&#8217;t send email to me using an HTTP GET or[sic] POST to my desktop PC because it may be turned off.\n<\/blockquote>\n\n<p>That&#8217;s not true.  You appear to be looking at REST through from the point of view of\na browser.  It would help to look *past* the browser, to state transfer (aka document\ntranfer).  You could have a HTTP gateway sitting on some server someplace, which I POST\nemails too.  When you boot up your laptop, you&#8217;d connect to the server, and invoke GET to\nretrieve those emails.  That&#8217;s perfectly RESTful.<\/p>","protected":false},"excerpt":{"rendered":"Doug responds, in reference to using URIs; This implies that the document is associated with (tightly coupled to) a fixed location as specified in the URI. Not at all. Are you aware that the machine that you&#8217;re grabbing my blog from relocated up the street five months ago? In the odd chance that you were, [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-149","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts\/149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/comments?post=149"}],"version-history":[{"count":0,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts\/149\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/media?parent=149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/categories?post=149"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/tags?post=149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}