I’m wanting to send multiple body’s in a /post RequestAsync message. So when it sends the request it will be in the form of:
["Word1", "Word2"] (basically an array)
So it is easier to get the information from the request, this way it will be able to be obtained by doing request.body[0] ← for “Word1”
If this isn’t possible are there any other possible ways of this happening?
My code is below:

Try placing them in an array, then encode the array into a json string. Your server will decode the string into an array native to the language used:
Body = HttpService:JSONEncode({ "Hello", "World" })
That did work in the form of any array, however when using the easier part of getting it by doing request.body[0], it only logs [

You need to decode the json string into an array native to your language first because you’re just getting the first char of the json string
P.S: The image is also broken
1 Like
Awesome, it works! Thank you, been trying to find the reasoning for my issue for a while now. Have a good one.