{"id":1586,"date":"2006-07-05T22:00:00","date_gmt":"2006-07-06T02:00:00","guid":{"rendered":"http:\/\/www.markbaker.ca\/wp\/2006\/07\/05\/dont-serve-json-as-texthtml\/"},"modified":"2006-07-05T22:00:00","modified_gmt":"2006-07-06T02:00:00","slug":"dont-serve-json-as-texthtml","status":"publish","type":"post","link":"http:\/\/www.markbaker.ca\/blog\/2006\/07\/dont-serve-json-as-texthtml\/","title":{"rendered":"Don&#8217;t serve JSON as text\/html"},"content":{"rendered":"A detailed anatomy of an innovative XSS bug.  Neat.  Yet another reason to stick to Web architectural principles.\n(<a href=\"http:\/\/jibbering.com\/blog\/?p=514\">link<\/a>) [<a href=\"http:\/\/del.icio.us\/distobj\">del.icio.us\/distobj<\/a>]","protected":false},"excerpt":{"rendered":"A detailed anatomy of an innovative XSS bug. Neat. Yet another reason to stick to Web architectural principles. (link) [del.icio.us\/distobj]","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-1586","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts\/1586","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=1586"}],"version-history":[{"count":0,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts\/1586\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/media?parent=1586"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/categories?post=1586"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/tags?post=1586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}