Skip to content

Commit cc79872

Browse files
committed
adjusted readme for syntax
1 parent 573d36d commit cc79872

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,17 @@ GET https://api.spacexdata.com/launches
4848
```
4949
Get past launches by year
5050
```http
51-
GET https://api.spacexdata.com/launches?year=2017
51+
GET https://api.spacexdata.com/launches/year=2017
5252
```
5353
Get past launches in a date range
5454
```http
55-
GET https://api.spacexdata.com/launches?from=2011-01-20&to=2017-05-25
55+
GET https://api.spacexdata.com/launches/from=2011-01-20&to=2017-05-25
5656
```
5757
Get data on upcoming launches
5858
```http
5959
GET https://api.spacexdata.com/launches/upcoming
60-
GET https://api.spacexdata.com/launches/upcoming?year=2017
61-
GET https://api.spacexdata.com/launches/upcoming?from=2011-01-20&to=2017-05-25
60+
GET https://api.spacexdata.com/launches/upcoming/year=2017
61+
GET https://api.spacexdata.com/launches/upcoming/from=2011-01-20&to=2017-05-25
6262
```
6363

6464
## Launch info by serial #'s

0 commit comments

Comments
 (0)