Fix typo in example: s/query/q/

For the endpoint `api/v2/sql` the parameter to pass queries is `q`.
It is important to fix because it is in the SQL API front page. Thanks
@ibrahimmenem for spotting it.
This commit is contained in:
Rafa de la Torre 2018-07-18 11:20:20 +02:00
parent bee6c84961
commit 66e419611a

View File

@ -146,7 +146,7 @@ paths:
- lang: Curl
source: |
curl -X POST -H "Content-Type: application/json" -d '{ \
"query": "SELECT count(*) FROM cities", \
"q": "SELECT count(*) FROM cities", \
"filename": "number_of_cities.json" \
}' "https://username.carto.com/api/v2/sql"