{"id":14,"date":"2002-07-29T10:50:00","date_gmt":"2002-07-29T14:50:00","guid":{"rendered":"http:\/\/www.markbaker.ca\/wp\/?p=58"},"modified":"2002-07-29T10:50:00","modified_gmt":"2002-07-29T14:50:00","slug":"sam-and-mark-disconnect-1","status":"publish","type":"post","link":"http:\/\/www.markbaker.ca\/blog\/2002\/07\/sam-and-mark-disconnect-1\/","title":{"rendered":"Sam and Mark, Disconnect #1"},"content":{"rendered":"<p>Sam and I are <a href=\"http:\/\/radio.weblogs.com\/0101679\/2002\/07\/29.html#a690\">still disconnected<\/a>, but we appear to have narrowed it done to this one key point.  Must .. find .. way &#8230;. to explain.<\/p>\n<p>Time for an example.<\/p>\n<p><pre>\nPOST \/some-uri\/ HTTP\/1.1\nHost: example.org\nContent-Type: text\/plain\n[blank line]\n795\n<\/pre><\/p>\n<p>This is a client POSTing the data &#8220;795&#8221; to http:\/\/example.org\/some-uri\/.  I consider this more hormone-like, because what the code bound to that URI does with the number &#8220;795&#8221;, is completely up to it.  And without additional information, the sender of that HTTP message has <em>no idea<\/em> what to expect will happen when he does.  How this works in HTTP, is that the client (in HTML&#8217;s case, a user) forms an expectation by believing the assertions in the HTML that they previously got, that if you submit some text, we&#8217;ll send it to an LED flasher in our office (or will dial a phone number, or hunt down and kill the person with that SIN, or whatever).  So different behaviours are <em>negotiated<\/em> out of band, not <em>requested<\/em> in band.<\/p>\n\n<p>That should hopefully highlight the difference.  Does it?  It wasn&#8217;t intended to compare the approaches.  I&#8217;ll leave that as an exercise to the reader.  8-)<\/p>","protected":false},"excerpt":{"rendered":"Sam and I are still disconnected, but we appear to have narrowed it done to this one key point. Must .. find .. way &#8230;. to explain. Time for an example. POST \/some-uri\/ HTTP\/1.1 Host: example.org Content-Type: text\/plain [blank line] 795 This is a client POSTing the data &#8220;795&#8221; to http:\/\/example.org\/some-uri\/. I consider this more [&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-14","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts\/14","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=14"}],"version-history":[{"count":0,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts\/14\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/media?parent=14"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/categories?post=14"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/tags?post=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}