https://github.com/omkz/rails-api-auth
https://github.com/omkz/rails-api-auth
doorkeeper restful-api ruby ruby-on-rails
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/omkz/rails-api-auth
- Owner: omkz
- Created: 2020-10-23T09:00:41.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-31T16:38:39.000Z (about 5 years ago)
- Last Synced: 2025-01-15T13:10:43.922Z (12 months ago)
- Topics: doorkeeper, restful-api, ruby, ruby-on-rails
- Language: Ruby
- Homepage:
- Size: 43 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Login
```
curl -X POST -d "grant_type=password&email=user@example.com&password=abc123" localhost:3000/oauth/token
```
### Get All Posts
```
curl -v localhost:3000/api/posts?access_token=OurAccessToken
```