Skip to content

Commit

Permalink
updating readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyson Kunovsky committed Feb 10, 2014
1 parent f5ed66e commit 0faff99
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ A simple example Grape Api mounted on rack without using an ORM. The database is

- You can then visit the api at the following endpoints

http://http://localhost:9292/v1/records/first_name - this give you a list of all users sorted by first name
http://localhost:9292/v1/records/first_name - this give you a list of all users sorted by first name

http://http://localhost:9292/v1/records/last_name - this gives you a list of all users sorted by last name
http://localhost:9292/v1/records/last_name - this gives you a list of all users sorted by last name

http://http://localhost:9292/v1/records/created_at - this gives you a list of all users sorted by created at date
http://localhost:9292/v1/records/created_at - this gives you a list of all users sorted by created at date

- You can also make a post request using curl like so:

Expand Down
9 changes: 1 addition & 8 deletions db/db_setup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,4 @@ def self.seed(parser, database)
)
end
end
end







end
Binary file added user.db
Binary file not shown.
Binary file added user_testing.db
Binary file not shown.

0 comments on commit 0faff99

Please sign in to comment.