Format query according standard
This commit is contained in:
parent
1c8c7ddf75
commit
183503ebfb
1 changed files with 2 additions and 2 deletions
|
@ -83,7 +83,7 @@ athlete AB not found
|
||||||
|
|
||||||
Успешный запрос (200, json фиксированного вида):
|
Успешный запрос (200, json фиксированного вида):
|
||||||
```
|
```
|
||||||
$ curl -X GET "localhost:6029/top-athletes-in-sport?sport=Swimming&&limit=1"
|
$ curl -X GET "localhost:6029/top-athletes-in-sport?sport=Swimming&limit=1"
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"athlete": "Michael Phelps",
|
"athlete": "Michael Phelps",
|
||||||
|
@ -134,7 +134,7 @@ sport 'chess' not found
|
||||||
|
|
||||||
Успешный запрос (200, json фиксированного вида):
|
Успешный запрос (200, json фиксированного вида):
|
||||||
```
|
```
|
||||||
$ curl -X GET "localhost:6029/top-countries-in-year?year=2012&&limit=2"
|
$ curl -X GET "localhost:6029/top-countries-in-year?year=2012&limit=2"
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"country": "United States",
|
"country": "United States",
|
||||||
|
|
Loading…
Reference in a new issue