Need to send multiple data in a single post request in a single go

i have a post request and in body i need to send 5000 user ids in a single go like
original request:
“userid”:[
“{{UserIds}}” ]

needed:“userid”:[
“{{UserId1}}” ,“{{UserID2}}”…“{{UserID5000}}”,]