Implement limit for Rust

This commit is contained in:
folex
2019-08-18 16:22:15 +03:00
parent 959143a5d7
commit ae9b018f04
10 changed files with 71 additions and 29 deletions

View File

@ -65,7 +65,7 @@ echo "$RESPONSE" | jq . 2>/dev/null || echo "$RESPONSE"
# Assign json to a variable using heredoc technique
JSON=$(cat <<JSON
{"action":"Fetch", "handle": "random_joe", "offset": 0, "limit": 10}
{"action":"Fetch", "handle": "random_joe", "offset": 0, "count": 10}
JSON
)