Issue with REST APIs: add several users

when I add one user to a group with users I use

[python]:
import requests
data = ‘className=XWiki.XWikiGroups&property#member=XWiki.User’
headers = {‘Content-type’: ‘application/x-www-form-urlencoded’, }
response = requests.post(‘http://local:8080/xwiki/rest/wikis/xwiki/spaces/XWiki/pages/MyGroupPage/objects’, headers=headers, data=data,auth=(‘admin’, ‘pass’))

But in order to add several users, do I have to format the “data” line in some other way, or add them by iteration?