Skip to content

Commit 87f2701

Browse files
committed
update readme
1 parent d328d59 commit 87f2701

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,11 @@ ap u
641641
rails s
642642
```
643643
*then run in `Terminal`*
644+
```ruby
645+
# with [token] that taken on rails console
646+
curl -H "Authorization: Token token=[token]" http://localhost:3000/v1/users
647+
```
648+
*example*
644649
```
645650
curl -H "Authorization: Token token=3Hu9orST5sKDHUPJBwjbogtt" http://localhost:3000/v1/users
646-
curl -H "Authorization: Token token=3Hu9orST5sKDHUPJBwjbogtt" http://10.1.0.132:3000/v1/users
647651
```

0 commit comments

Comments
 (0)