https://github.com/detastudio/user-api-rails-5
Rails Api + Generate Key Token
https://github.com/detastudio/user-api-rails-5
api api-key authentication rails ruby
Last synced: about 1 year ago
JSON representation
Rails Api + Generate Key Token
- Host: GitHub
- URL: https://github.com/detastudio/user-api-rails-5
- Owner: detastudio
- Created: 2017-02-18T05:23:13.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-18T15:41:38.000Z (about 9 years ago)
- Last Synced: 2025-04-06T22:38:16.485Z (about 1 year ago)
- Topics: api, api-key, authentication, rails, ruby
- Language: Ruby
- Homepage:
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# User API(CRUD) With Api-Key
Things you may want to cover:
* Ruby version 2.3
* Rails 5.0.1
* Devise(Gemfile)
* active_model_serializers(Gemfile)
* Database Mysql
ex. Generate Key :
1. Rails Console
2. Apikey.create!
ex Link url :
**(GET) http://localhost:3000/api/v1/users?token=Params**
**(POST) http://localhost:3000/api/v1/users?token=Params**
**(GET) http://localhost:3000/api/v1/users/id?token=Params**
**(PUT/PATCH) http://localhost:3000/api/v1/users/id?token=Params**