Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Include Page
SGTDOC:О «Подсказках»: банк по идентификатору
SGTDOC:О «Подсказках»: банк по идентификатору

Запрос

Для пользователей «Дадаты»:

No Format
curl -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Token ${API_KEY}" \
  -d '{ "query": "044525545" }' \
  https://suggestions.dadata.ru/suggestions/api/4_1/rs/findById/bank

Для пользователей «коробки»:

No Format
curl -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{ "query": "044525545" }' \
  http://ВАШ_СЕРВЕР:ПОРТ/suggestions/api/4_1/rs/findById/bank

...