Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 734 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 734 Bytes

Web APIs

Resources for Ruby Web API talk

Slides

Web APIs

Deployed app

Appointments API

Installation instructions

$ git clone [email protected]:medellinrb/appointments-api.git
$ cd appointments-api
$ rake db:create db:migrate
$ rails server

API endpoints

The appointments endpoint is in:

http://localhost:3000/api/v1/appointments

Make a request

Replace with your user_email and user_token information

$ rails console
request = HTTParty.get('http://localhost:3000/api/v1/[email protected]&user_token=B5fbostCifH44hFZLXBp')