{"id":1119,"date":"2017-03-30T06:49:02","date_gmt":"2017-03-30T13:49:02","guid":{"rendered":"http:\/\/somethingk.com\/main\/?p=1119"},"modified":"2017-03-30T06:50:20","modified_gmt":"2017-03-30T13:50:20","slug":"how-to-do-stuff-restfully","status":"publish","type":"post","link":"https:\/\/somethingk.com\/main\/how-to-do-stuff-restfully\/","title":{"rendered":"How to do stuff RESTfully"},"content":{"rendered":"<section id=\"text-4\" class=\"widget boka-widget widget_text amr_widget\">\t\t\t<div class=\"textwidget\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block; text-align:center;\"\r\n     data-ad-layout=\"in-article\"\r\n     data-ad-format=\"fluid\"\r\n     data-ad-client=\"ca-pub-7619916617995509\"\r\n     data-ad-slot=\"9102150708\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><\/div>\n\t\t<\/section>\n<p>REST, standing for\u00a0<b>Representational state transfer<\/b>, it lets the browser interact with the server and get things done without knowing anything about the server, the resources it has and the background operations used to perform the requested task. I far prefer REST APIs over SOAP any day! Take a look at the RESTful cookbook below to become familiar with Howto&#8217;s and best practices. This will by far make your interactions between server and client cleaner and easier! Pretty much any website I develop, I keep REST in mind, it will make future operations and scaling smoother.<\/p>\n<table id=\"at_preview\">\n<tbody>\n<tr>\n<td width=\"125\"><img decoding=\"async\" src=\"https:\/\/s3.amazonaws.com\/github\/ribbons\/forkme_right_red_aa0000.png\" width=\"100\" data-src=\"[https:\/\/s3.amazonaws.com\/github\/ribbons\/forkme_right_red_aa0000.png]\" \/><\/td>\n<td style=\"vertical-align: top;\"><strong> &#8211; The RESTful cookbook<\/strong><\/p>\n<p>REST is hot! And REST is finally rediscovered by API programmers all over the world. But REST isn&#8217;t always as easy as it seems on first look. Dealing with HATEOAS, Code on demand and uniform interfaces can be really tricky and many people will fall back to not-so-restful approaches when things are starting to become more difficult. But it doesn&#8217;t need to be. Once you get to know REST, you will like it.<\/td>\n<\/tr>\n<tr class=\"preview_footer\">\n<td colspan=\"2\">Source: <a href=\"http:\/\/restcookbook.com\/\">restcookbook.com\/ <\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>REST, standing for\u00a0Representational state transfer, it lets the browser interact with the server and get things done without knowing anything about the server, the resources it has and the background operations used to perform the requested task. I far prefer REST APIs over SOAP any day! Take a look at the RESTful cookbook below to become familiar with Howto&#8217;s and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[177],"tags":[64,586,587],"class_list":["post-1119","post","type-post","status-publish","format-standard","hentry","category-development","tag-howto","tag-rest","tag-suggestion"],"_links":{"self":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts\/1119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/comments?post=1119"}],"version-history":[{"count":3,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts\/1119\/revisions"}],"predecessor-version":[{"id":1122,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts\/1119\/revisions\/1122"}],"wp:attachment":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/media?parent=1119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/categories?post=1119"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/tags?post=1119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}