ive found this post, but i dont understand how to get a csrf token
How to pass array when calling PUT API?
DO MGBK last edited by
I am trying to call api/v3/categories/111/privileges/groups:posts:upvote to set privileges for a group. It's a PUT API, and it seems to accept array of privileges on server side. I tried multiple ways to pass array in the URL and all attempts failed.
for example /api/v3/categories/111/privileges/privilege=groups:posts:upvote&privilege=groups:posts:delete
Any idea how to pass array of privileges to PUT API?
Thanks in advance!