File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,11 +50,11 @@ GET https://api.spacexdata.com/launches/upcoming
5050```
5151Get past launches by year
5252``` http
53- GET https://api.spacexdata.com/launches/ year=2017
53+ GET https://api.spacexdata.com/launches? year=2017
5454```
5555Get past launches in a date range
5656``` http
57- GET https://api.spacexdata.com/launches/ from=2011-01-20/ to=2017-05-25
57+ GET https://api.spacexdata.com/launches? from=2011-01-20& to=2017-05-25
5858```
5959
6060## Launch info by serial #'s
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ def hash_merge *hashes
215215end
216216
217217# Gets all launches in a date range
218- get '/launches/from=:start/ to=:final' do
218+ get '/launches/from=:start& to=:final' do
219219 content_type :json
220220 start = params [ 'start' ]
221221 final = params [ 'final' ]
You can’t perform that action at this time.
0 commit comments