{"id":818,"date":"2013-02-13T08:23:23","date_gmt":"2013-02-13T14:23:23","guid":{"rendered":"http:\/\/www.mysmartbots.com\/blog\/?p=818"},"modified":"2013-02-13T08:23:24","modified_gmt":"2013-02-13T14:23:24","slug":"http-api-and-sbsl-improvements","status":"publish","type":"post","link":"https:\/\/www.mysmartbots.com\/blog\/2013\/02\/http-api-and-sbsl-improvements\/","title":{"rendered":"HTTP API and SBSL improvements"},"content":{"rendered":"<p><img loading=\"lazy\" class=\"alignright size-full wp-image-819\" alt=\"HTTP API and SBSL updates\" src=\"https:\/\/www.mysmartbots.com\/blog\/wp-content\/smartbots\/2013\/02\/20130213-http-api-updates.jpg\" width=\"250\" height=\"200\" \/>We&#8217;ve improved <a href=\"\/docs\/HTTP_API\" target=\"_blank\">HTTP API<\/a> of SmartBots and <a href=\"\/docs\/SBSL\" target=\"_blank\">SBSL<\/a> programmings language.<\/p>\n<p>SmartBots HTTP API now supports custom http callbacks: bot does a direct HTTP call to your website script (written in PHP, ASP, Perl or anything else) to inform you about in-world events (chat messages, group invitations etc). See\u00a0<a href=\"\/docs\/Set_http_callback_(HTTP_Bot_Command)\" target=\"_blank\">set_http_callback API command<\/a> for more information.<\/p>\n<p>Second improvement relates to SBSL and allows doing whole-word-only substring comparisons (for example, if you want to react on messages containing &#8220;ok&#8221;, but not &#8220;look&#8221;). See\u00a0<a href=\"\/docs\/If_(SBSL_Command)\" target=\"_blank\">SBSL &#8220;if&#8221;<\/a>\u00a0command (&#8220;Whole word match only&#8221; section) for more details.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;ve improved HTTP API of SmartBots and SBSL programmings language. SmartBots HTTP API now supports custom http callbacks: bot does a direct HTTP call to your website script (written in PHP, ASP, Perl or anything else) to inform you about in-world events (chat messages, group invitations etc). See\u00a0set_http_callback API command for more information. Second improvement [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[144],"tags":[205,203,202,204],"_links":{"self":[{"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/posts\/818"}],"collection":[{"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/comments?post=818"}],"version-history":[{"count":4,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/posts\/818\/revisions"}],"predecessor-version":[{"id":823,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/posts\/818\/revisions\/823"}],"wp:attachment":[{"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/media?parent=818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/categories?post=818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/tags?post=818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}