Skip to content

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

Description

@heltru

Если вызвать так 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions