curl -X POST https suggestions dadata ru suggestions api 4_1 rs sugges

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
curl -X POST \
https://suggestions.dadata.ru/suggestions/api/4_1/rs/suggest/address/ \
-H 'Accept: application/json' \
-H 'Authorization: Token fe6af289dbac08cf0f6cefaf75937b1727eaea69' \
-H 'Content-Type: application/json' \
-H 'Postman-Token: 5f49167c-6505-4efb-94b1-cf2252b71c79' \
-H 'cache-control: no-cache' \
-d '{
"query": "Рост",
"count": 2,
"from_bound": {
"value": "city"
},
"to_bound": {
"value": "settlement"
}
}'