How to make POST request to send array through Chrome or Firefox?
13,248
Solution 1
To send an array you need to set the same request key as "my_array[]" and then add your values. Postman let's you do this already.
Solution 2
@Abhinav is right. For the lazy:
If that doesn't work, try not putting indexes in brackets:
my_array[] value1
my_array[] value2
Solution 3
For me did not work with array[0], array1, .. or array[], array[], ... . It works more simply:
Author by
malcoauri
Updated on June 22, 2022Comments
-
malcoauri almost 2 years
I used Postman plugin for Chrome to send request and get response, but this plugin didn't allow (or I couldn't do) to send request with array, but I need it. Please, give me advice, which plugin can I use for it? Thanks in advance.