Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Кейс: поиск вакансий по нескольким компаниям #44

Open
denis-gorin opened this issue Feb 25, 2021 · 0 comments

Comments

@denis-gorin
Copy link

Как сказано в оф. документации API hh.ru поиска по вакансиям

employer_id — идентификатор компании.
Возможно указание нескольких значений.

т.е. строка запроса должна быть http://api.hh.ru/vacancies?employer_id=123&employer_id=456

для этой реализации - возможное решение в файле

headhunter-api\src\Request.php:172

заменить

return http_build_query($params);

на

return \GuzzleHttp\Psr7\build_query($params, PHP_QUERY_RFC1738);

Описание решения

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant