{"id":13040,"date":"2016-06-22T08:47:13","date_gmt":"2016-06-22T13:47:13","guid":{"rendered":"http:\/\/www.multitech.net\/developer\/?page_id=13040"},"modified":"2016-07-13T13:33:52","modified_gmt":"2016-07-13T18:33:52","slug":"logging-in","status":"publish","type":"page","link":"https:\/\/www.multitech.net\/developer\/software\/mtr-software\/mtr-api-reference\/rcell_api_requests\/logging-in\/","title":{"rendered":"Logging In"},"content":{"rendered":"<p>To use the API, a user must be authorized and have equal or greater privileges than the API call they are invoking. A user can login with valid credentials by passing their username and password to the login URL (<code>https:\/\/192.168.2.1\/api\/login<\/code>) either as URI parameters or within a JSON object. The following call will login the user <em>admin<\/em>, and return the session information including an authorized token. The API attempts to cache the token as a cookie in the user&#8217;s web browser for authorizing future calls. As an alternative to using a browser cookie, this token can be passed as a URI parameter using the key: <strong>token<\/strong>.<\/p>\n<h3>Example<\/h3>\n<p><!--%subpages(1)%--> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>To use the API, a user must be authorized and have equal or greater privileges than the API call they are invoking. A user can login with valid credentials by passing their username and password to the login URL (https:\/\/192.168.2.1\/api\/login) either as URI parameters or within a JSON object. The following call will login the [&hellip;]<\/p>\n","protected":false},"author":1872,"featured_media":0,"parent":12979,"menu_order":1,"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-13040","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/13040","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=13040"}],"version-history":[{"count":11,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/13040\/revisions"}],"predecessor-version":[{"id":28603,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/13040\/revisions\/28603"}],"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=13040"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}