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

передача массива в request.post #2

Open
heltru opened this issue Mar 30, 2021 · 0 comments
Open

передача массива в request.post #2

heltru opened this issue Mar 30, 2021 · 0 comments

Comments

@heltru
Copy link

heltru commented Mar 30, 2021

Если вызвать так data = api(methods.Subscribers.get,
count=1000,
date_from='30.03.2021 01:00:00',
date_to = '30.03.2021 15:37:59',
vk_user_id=['3424242', '654654564']
)

то приходит в сенлер [ count:1000, date_from:'30.03.2021 01:00:00', date_to :'30.03.2021 15:37:59', vk_user_id=654654564 ]
а надо
[ count:1000, date_from:'30.03.2021 01:00:00', date_to :'30.03.2021 15:37:59', vk_user_id=[ '3424242', '654654564' ]]

массив vk_user_id обрезается

в сенлере читаю $_POST

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