6

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.

malcoauri
  • 11,046
  • 27
  • 79
  • 125
  • Possible duplicate of [Is it possible to send an array with the Postman Chrome extension?](http://stackoverflow.com/questions/12756688/is-it-possible-to-send-an-array-with-the-postman-chrome-extension) – slashCoder Oct 14 '15 at 17:49

4 Answers4

6

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.

Abhinav
  • 36,436
  • 9
  • 40
  • 49
2

@Abhinav is right. For the lazy:

send_array_param_with_postman

If that doesn't work, try not putting indexes in brackets:

my_array[]  value1
my_array[]  value2
Benjamin Crouzier
  • 37,789
  • 41
  • 162
  • 229
2

For me did not work with array[0], array1, .. or array[], array[], ... . It works more simply: enter image description here

Popa Andrei
  • 2,083
  • 17
  • 24
0

I needed an array of objets.

That's what it worked for meenter image description here

diogo.abdalla
  • 566
  • 1
  • 6
  • 17