Skip to content

Commit

Permalink
[doc] use HTTPS instead of HTTP to access the Nodejitsu API
Browse files Browse the repository at this point in the history
  • Loading branch information
3rd-Eden committed Aug 3, 2012
1 parent ccafba4 commit dce353a
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion API.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Here is an example using the command line utility,
[Curl](http://curl.haxx.se/):

// get all applications for User "Marak"
curl --user Marak:password http://api.nodejitsu.com/apps/marak
curl --user Marak:password https://api.nodejitsu.com/apps/marak

## Applications

Expand Down
2 changes: 1 addition & 1 deletion ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ Here is an example using the command line utility,
[Curl](http://curl.haxx.se/):

// get all applications for User "Marak"
curl --user Marak:password http://api.nodejitsu.com/apps/marak
curl --user Marak:password https://api.nodejitsu.com/apps/marak

## Applications

Expand Down
6 changes: 3 additions & 3 deletions appendices/mailchimp.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Like the rest of Nodejitsu's features, addon functionality can be accessed using
Nodejitsu's JSON API. For example, here's what happens when you get
`/addons/:user-id`:

$ curl --user 'jesusabdullah:abc123' http://api.nodejitsu.com/addons/jesusabdullah/
$ curl --user 'jesusabdullah:abc123' https://api.nodejitsu.com/addons/jesusabdullah/


{ "_id": "jesusabdullah",
Expand All @@ -66,7 +66,7 @@ Nodejitsu's JSON API. For example, here's what happens when you get
In order to interact with the MailChimp add-on in particular, use the
`/addons/:user-id/signups` resource:

$ curl --user 'jesusabdullah:abc123' http://api.nodejitsu.com/addons/jesusabdullah/signups
$ curl --user 'jesusabdullah:abc123' https://api.nodejitsu.com/addons/jesusabdullah/signups


{ "lists":
Expand Down Expand Up @@ -104,7 +104,7 @@ In order to interact with the MailChimp add-on in particular, use the
You can use the list ID to access the particular list information with
`/addons/:user-id/signups/:list-id/`:

curl --user 'jesusabdullah:abc123' http://api.nodejitsu.com/addons/jesusabdullah/signups/f3b7d6450c
curl --user 'jesusabdullah:abc123' https://api.nodejitsu.com/addons/jesusabdullah/signups/f3b7d6450c


{ "total": 2,
Expand Down
42 changes: 21 additions & 21 deletions book.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
a {
color: #000000;
}

a:hover {
color: blue;
}

</style>
</head>
<body><div class='mp'>
Expand Down Expand Up @@ -125,7 +125,7 @@ <h2 id="Write-A-Server-">Write A Server:</h2>
http.createServer(function (req, res) {
// this is the callback, or request handler for the httpServer

// respond to the browser, write some headers so the
// respond to the browser, write some headers so the
// browser knows what type of content we are sending
res.writeHead(200, {'Content-Type': 'text/html'});

Expand Down Expand Up @@ -192,8 +192,8 @@ <h2 id="One-Line-Deployment">One Line Deployment</h2>
only take a few seconds.</p>

<pre><code>prompt: subdomain (myapp): myapp
prompt: scripts.start (server.js):
prompt: version (0.0.0):
prompt: scripts.start (server.js):
prompt: version (0.0.0):
</code></pre>

<p>Now just open up your favorite browser, and go to
Expand Down Expand Up @@ -529,21 +529,21 @@ <h3 id="jitsu-help-resource-action">jitsu help <var>resource</var> <var>action</
info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command help apps deploy
help:
help:
help:
help:
help: Deploys an application using the following steps:
help:
help:
help: 1. Creates the application (if necessary)
help: 2. Creates or validates the package.json
help: 3. Packages and creates a new snapshot
help: 4. Stops the application (if neccessary)
help: 5. Starts the application
help:
help:
help: jitsu deploy
help: jitsu apps deploy
help:
help:
info: Nodejitsu ok
josh@pidgey:~$
josh@pidgey:~$
</code></pre>

<p>If no resource and/or action are specified, then <code>jitsu help</code> alone will
Expand Down Expand Up @@ -651,7 +651,7 @@ <h2 id="Authentication">Authentication</h2>
<a href="http://curl.haxx.se/">Curl</a>:</p>

<pre><code> // get all applications for User "Marak"
curl --user Marak:password http://api.nodejitsu.com/apps/marak
curl --user Marak:password https://api.nodejitsu.com/apps/marak
</code></pre>

<h2 id="Applications">Applications</h2>
Expand Down Expand Up @@ -780,7 +780,7 @@ <h3 id="Get-all-logs-for-a-user">Get all logs for a user</h3>
"from": "NOW-3YEARS",
"until": "NOW",
"rows": 15
}
}
</code></pre>

<h3 id="Get-logs-for-a-specific-application">Get logs for a specific application</h3>
Expand All @@ -790,7 +790,7 @@ <h3 id="Get-logs-for-a-specific-application">Get logs for a specific application
"from": "NOW-3YEARS",
"until": "NOW",
"rows": 15
}
}
</code></pre>

<h2 id="Marketplace">Marketplace</h2>
Expand Down Expand Up @@ -842,12 +842,12 @@ <h2 id="Usage">Usage</h2>

<p>To start haibu, all you have to do is run <code>haibu</code>:</p>

<pre><code>$ haibu
__ __
/ /_ ______ __ / /_ __ __
/ __ \ / __ / / / / __ \ / / / /
/ / / / / /_/ / / / / /_/ / / /_/ /
/_/ /_/ \__,_/ /_/ /_/\___/ \__,_/
<pre><code>$ haibu
__ __
/ /_ ______ __ / /_ __ __
/ __ \ / __ / / / / __ \ / / / /
/ / / / / /_/ / / / / /_/ / / /_/ /
/_/ /_/ \__,_/ /_/ /_/\___/ \__,_/

This is Open Source Software available under
the MIT License.
Expand Down Expand Up @@ -1135,4 +1135,4 @@ <h2 id="Build-Process">Build Process</h2>

</div>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion book.md
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ Here is an example using the command line utility,
[Curl](http://curl.haxx.se/):

// get all applications for User "Marak"
curl --user Marak:password http://api.nodejitsu.com/apps/marak
curl --user Marak:password https://api.nodejitsu.com/apps/marak

## Applications

Expand Down
2 changes: 1 addition & 1 deletion chapters/json_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Here is an example using the command line utility,
[Curl](http://curl.haxx.se/):

// get all applications for User "Marak"
curl --user Marak:password http://api.nodejitsu.com/apps/marak
curl --user Marak:password https://api.nodejitsu.com/apps/marak

## Applications

Expand Down

0 comments on commit dce353a

Please sign in to comment.