Вот мой код:
data = {
'groups': [{'add':{'S8','ALL'}}]
}
r = requests.put(bugzilla_host + '/rest.cgi/user/user_name?token=' + token, data=data)
И я получаю следующую ошибку:
> {"error":true,"message":"Can't use string (\"add\") as a HASH ref
> while \"strict refs\" in use at Bugzilla/User.pm line
> 419.\n","code":100500,"documentation":"https://bugzilla.readthedocs.org/en/5.0/api/"}