Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of https://github.com/ryanb/railscasts-episodes

  • Loading branch information...
commit daa1f5b8cc541edc49b69aa5f35be732dcd1a683 2 parents ff2146f + 006316e
@ryanb authored
Showing with 6 additions and 9 deletions.
  1. +6 −9 episode-352/README.md
View
15 episode-352/README.md
@@ -1,17 +1,14 @@
-# RailsCasts Episode #351: A Look at Meteor
+# RailsCasts Episode #352: Securing an API
-http://railscasts.com/episodes/351-a-look-at-meteor
+http://railscasts.com/episodes/352-securing-an-api
Requires Ruby 1.9.2 or higher.
### Commands used in this episode
```
-curl install.meteor.com | sh
-meteor create raffler
-cd raffler
-meteor
-meteor list
-meteor add coffeescript
-meteor deploy railscasts-raffler.meteor.com
+curl http://localhost:3000/api/products -I
+curl http://localhost:3000/api/products -u 'admin:secret'
+curl 'http://localhost:3000/api/products?access_token=123' -I
+curl http://localhost:3000/api/products -H 'Authorization: Token token="c576f0136149a2e2d9127b3901015545"'
```
Please sign in to comment.
Something went wrong with that request. Please try again.