Skip to content

Commit

Permalink
Merge pull request #38 from 3rd-Eden/master
Browse files Browse the repository at this point in the history
[doc] use HTTPS instead of HTTP to access the Nodejitsu API
  • Loading branch information
blakmatrix committed Aug 17, 2012
2 parents 4a342cd + dce353a commit 8d0ff67
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion API.md
Expand Up @@ -21,7 +21,7 @@ Here is an example using the command line utility,
[Curl](http://curl.haxx.se/): [Curl](http://curl.haxx.se/):


// get all applications for User "Marak" // 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 ## Applications


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


// get all applications for User "Marak" // 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 ## Applications


Expand Down
6 changes: 3 additions & 3 deletions appendices/mailchimp.md
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 Nodejitsu's JSON API. For example, here's what happens when you get
`/addons/:user-id`: `/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", { "_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 In order to interact with the MailChimp add-on in particular, use the
`/addons/:user-id/signups` resource: `/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": { "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 You can use the list ID to access the particular list information with
`/addons/:user-id/signups/:list-id/`: `/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, { "total": 2,
Expand Down
42 changes: 21 additions & 21 deletions book.html
Expand Up @@ -18,11 +18,11 @@
a { a {
color: #000000; color: #000000;
} }

a:hover { a:hover {
color: blue; color: blue;
} }

</style> </style>
</head> </head>
<body><div class='mp'> <body><div class='mp'>
Expand Down Expand Up @@ -141,7 +141,7 @@ <h2 id="Write-A-Server-">Write A Server:</h2>
http.createServer(function (req, res) { http.createServer(function (req, res) {
// this is the callback, or request handler for the httpServer // 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 // browser knows what type of content we are sending
res.writeHead(200, {'Content-Type': 'text/html'}); res.writeHead(200, {'Content-Type': 'text/html'});


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


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


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


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


<pre><code> // get all applications for User "Marak" <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> </code></pre>


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


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


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


<p>To start haibu, all you have to do is run <code>haibu</code>:</p> <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 This is Open Source Software available under
the MIT License. the MIT License.
Expand Down Expand Up @@ -1151,4 +1151,4 @@ <h2 id="Build-Process">Build Process</h2>


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


// get all applications for User "Marak" // 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 ## Applications


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


// get all applications for User "Marak" // 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 ## Applications


Expand Down

0 comments on commit 8d0ff67

Please sign in to comment.