{"id":13077,"date":"2016-06-22T08:49:04","date_gmt":"2016-06-22T13:49:04","guid":{"rendered":"http:\/\/www.multitech.net\/developer\/?page_id=13077"},"modified":"2022-09-13T15:28:46","modified_gmt":"2022-09-13T20:28:46","slug":"passing-json-data","status":"publish","type":"page","link":"https:\/\/www.multitech.net\/developer\/software\/mtr-software\/mtr-api-reference\/rcell_api_requests\/passing-json-data\/","title":{"rendered":"Passing JSON Data"},"content":{"rendered":"<p>To send data to the device, pass a JSON object in the body of the request content, or pass a JSON object in the URI parameter: <strong>data<\/strong>.\u00a0For example, the following request uses a RESTful PUT call to edit the current DHCP configurations by passing in a JSON object with the <strong>enabled<\/strong> member set to <em>false<\/em>.<\/p>\n<h3>Example<\/h3>\n<p>To disable DHCP, send the following request:<br \/>\n<code>https:\/\/192.168.2.1\/api\/dhcp?data={\"enabled\":false}&amp;method=PUT<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To send data to the device, pass a JSON object in the body of the request content, or pass a JSON object in the URI parameter: data.\u00a0For example, the following request uses a RESTful PUT call to edit the current DHCP configurations by passing in a JSON object with the enabled member set to false. [&hellip;]<\/p>\n","protected":false},"author":1872,"featured_media":0,"parent":12979,"menu_order":4,"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-13077","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/13077","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=13077"}],"version-history":[{"count":8,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/13077\/revisions"}],"predecessor-version":[{"id":33180,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/13077\/revisions\/33180"}],"up":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/12979"}],"wp:attachment":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/media?parent=13077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}