{"id":12464,"date":"2015-08-25T09:55:00","date_gmt":"2015-08-25T08:55:00","guid":{"rendered":"https:\/\/touk.pl\/blog\/?guid=323d9c7231a21409b76876baa5809f63"},"modified":"2022-08-03T09:31:39","modified_gmt":"2022-08-03T07:31:39","slug":"restart-or-power-off-rasperry-pi-with-rest-call","status":"publish","type":"post","link":"https:\/\/touk.pl\/blog\/2015\/08\/25\/restart-or-power-off-rasperry-pi-with-rest-call\/","title":{"rendered":"Restart or power off Rasperry PI with REST call"},"content":{"rendered":"<p>If you need to restart or power off your RPi remotely (or through local application&#8217;s call) here&#8217;s a simple way<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">http:\/\/raspberry.address:7000\/reboot\r\nhttp:\/\/raspberry.address:7000\/power\/off<\/pre>\n<p>Details and code at \u00a0<a href=\"https:\/\/github.com\/zdanek\/raspiPowerServer\">https:\/\/github.com\/zdanek\/raspiPowerServer<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"If you need to restart or power off your RPi remotely (or through local application&#8217;s call) here&#8217;s a simple wayhttp:\/\/raspberry.address:7000\/reboothttp:\/\/raspberry.address:7000\/power\/offDetails and code at &nbsp;https:\/\/github.com\/zdanek\/raspiPowerServer\n","protected":false},"author":22,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[416],"class_list":{"0":"post-12464","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-development-design","7":"tag-hardware"},"_links":{"self":[{"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/posts\/12464","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/comments?post=12464"}],"version-history":[{"count":5,"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/posts\/12464\/revisions"}],"predecessor-version":[{"id":14903,"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/posts\/12464\/revisions\/14903"}],"wp:attachment":[{"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/media?parent=12464"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/categories?post=12464"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/tags?post=12464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}