Skip to content
Browse files

[doc] use HTTPS instead of HTTP to access the Nodejitsu API

  • Loading branch information...
1 parent ccafba4 commit dce353a90c56d3e5b00ab6c5aebfb5963f8a1854 @3rd-Eden 3rd-Eden committed Aug 3, 2012
Showing with 28 additions and 28 deletions.
  1. +1 −1 API.md
  2. +1 −1 ReadMe.md
  3. +3 −3 appendices/mailchimp.md
  4. +21 −21 book.html
  5. +1 −1 book.md
  6. +1 −1 chapters/json_api.md
View
2 API.md
@@ -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
View
2 ReadMe.md
@@ -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
View
6 appendices/mailchimp.md
@@ -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",
@@ -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":
@@ -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,
View
42 book.html
@@ -18,11 +18,11 @@
a {
color: #000000;
}
-
+
a:hover {
color: blue;
}
-
+
</style>
</head>
<body><div class='mp'>
@@ -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'});
@@ -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
@@ -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
@@ -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>
@@ -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>
@@ -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>
@@ -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.
@@ -1135,4 +1135,4 @@ <h2 id="Build-Process">Build Process</h2>
</div>
</body>
-</html>
+</html>
View
2 book.md
@@ -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
View
2 chapters/json_api.md
@@ -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

0 comments on commit dce353a

Please sign in to comment.
Something went wrong with that request. Please try again.