Page tree

Versions Compared

Key

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

Запрос

Для пользователей подсказок DaData.ru:

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

Для пользователей standalone-подсказок:

Include Page
SGTDOC:О «Подсказках»: email
SGTDOC:О «Подсказках»: email

Запрос

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

...