{"id":13464,"date":"2016-06-22T11:49:10","date_gmt":"2016-06-22T16:49:10","guid":{"rendered":"http:\/\/www.multitech.net\/developer\/?page_id=13464"},"modified":"2016-07-13T11:09:37","modified_gmt":"2016-07-13T16:09:37","slug":"save-and-reboot","status":"publish","type":"page","link":"https:\/\/www.multitech.net\/developer\/software\/mtr-software\/mtr-api-reference\/rcell_api_appendix\/save-and-reboot\/","title":{"rendered":"Using Curl to Save the Current Configurations and Reboot"},"content":{"rendered":"<p><strong>Example<\/strong>: Using Curl to save the current configurations and reboot<\/p>\n<pre class=\"brush:xml\">curl -k -X POST -d \"\" \\\r\n\"https:\/\/192.168.2.1\/api\/command\/save_restart?token=2442CB0CB60B2EE9F5A35DF5ED8C33\"<\/pre>\n<p><strong>Example<\/strong>: Curl result:<\/p>\n<pre class=\"brush:xml\">{\r\n    \"code\" : 200, \r\n    \"status\" : \"success\"\r\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Example: Using Curl to save the current configurations and reboot curl -k -X POST -d &#8220;&#8221; \\ &#8220;https:\/\/192.168.2.1\/api\/command\/save_restart?token=2442CB0CB60B2EE9F5A35DF5ED8C33&#8221; Example: Curl result: { &#8220;code&#8221; : 200, &#8220;status&#8221; : &#8220;success&#8221; }<\/p>\n","protected":false},"author":1872,"featured_media":0,"parent":13423,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-13464","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/13464","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/users\/1872"}],"replies":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/comments?post=13464"}],"version-history":[{"count":5,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/13464\/revisions"}],"predecessor-version":[{"id":14072,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/13464\/revisions\/14072"}],"up":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/13423"}],"wp:attachment":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/media?parent=13464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}