@baris Great ! Many thanks ! Exactly what I needed and it works (of course... 😉 ).
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!