Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
harmandeveloperprogram committed Feb 5, 2016
1 parent f07ee64 commit 4e6497f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 0 deletions.
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/_build/doctrees/iOS/hkwhub-spec.doctree
Binary file not shown.
4 changes: 4 additions & 0 deletions docs/_build/html/_sources/iOS/hkwhub-spec.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2252,6 +2252,10 @@ Using the Access Token to Make HKIoTCloud API Calls

When you call the HKIoTCloud API calls, pass the value of the access token into the request header. Specifically, create an ``Authorization`` header and give it the value ``Bearer <access token>``.

**Sample Request using curl:**

- curl -X POST -H "Authorization: Bearer 15c0507f3a550d7a31f7af5dc45e4dd9fd9f4bc8" http://hkiotcloud.herokuapp.com/api/v1/init_session


Getting a New Access Token with Refresh Token
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
4 changes: 4 additions & 0 deletions docs/_build/html/iOS/hkwhub-spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -2771,6 +2771,10 @@ <h3>HKIoTCloud Returns a Response to Your Registration Website<a class="headerli
<div class="section" id="using-the-access-token-to-make-hkiotcloud-api-calls">
<h3>Using the Access Token to Make HKIoTCloud API Calls<a class="headerlink" href="#using-the-access-token-to-make-hkiotcloud-api-calls" title="Permalink to this headline"></a></h3>
<p>When you call the HKIoTCloud API calls, pass the value of the access token into the request header. Specifically, create an <code class="docutils literal"><span class="pre">Authorization</span></code> header and give it the value <code class="docutils literal"><span class="pre">Bearer</span> <span class="pre">&lt;access</span> <span class="pre">token&gt;</span></code>.</p>
<p><strong>Sample Request using curl:</strong></p>
<ul class="simple">
<li>curl -X POST -H &#8220;Authorization: Bearer 15c0507f3a550d7a31f7af5dc45e4dd9fd9f4bc8&#8221; <a class="reference external" href="http://hkiotcloud.herokuapp.com/api/v1/init_session">http://hkiotcloud.herokuapp.com/api/v1/init_session</a></li>
</ul>
</div>
<div class="section" id="getting-a-new-access-token-with-refresh-token">
<h3>Getting a New Access Token with Refresh Token<a class="headerlink" href="#getting-a-new-access-token-with-refresh-token" title="Permalink to this headline"></a></h3>
Expand Down
4 changes: 4 additions & 0 deletions docs/iOS/hkwhub-spec.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2252,6 +2252,10 @@ Using the Access Token to Make HKIoTCloud API Calls

When you call the HKIoTCloud API calls, pass the value of the access token into the request header. Specifically, create an ``Authorization`` header and give it the value ``Bearer <access token>``.

**Sample Request using curl:**

- curl -X POST -H "Authorization: Bearer 15c0507f3a550d7a31f7af5dc45e4dd9fd9f4bc8" http://hkiotcloud.herokuapp.com/api/v1/init_session


Getting a New Access Token with Refresh Token
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit 4e6497f

Please sign in to comment.