Skip to content

Commit

Permalink
more formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Baker committed Nov 2, 2011
1 parent daf0196 commit ff5a840
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Expand Up @@ -28,11 +28,14 @@ Rails Bootstrap Base App was made as a quick way to DRY up the development proce
* click on secure
* login using "admin@domain.com:secret", "user@domain.com:secret" or register
* Get auth token from API
```bash

```
curl -X GET "http://localhost:3000/users/1.json" -u "admin@domain.com:secret"
```

* Then use auth token to make secure request rather than using username and password each time. Auth token will remain static unless changed in the user model.
```bash

```
curl -X GET "http://localhost:3000/feedbacks/1.json?auth_token=<authentication_token>"
```

Expand Down

0 comments on commit ff5a840

Please sign in to comment.