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,904
  • 28
  • 82
  • 137
  • 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
  • 38,516
  • 9
  • 41
  • 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
  • 40,265
  • 44
  • 171
  • 236
2

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

Popa Andrei
  • 2,299
  • 21
  • 25
0

I needed an array of objets.

That's what it worked for meenter image description here

diogo.abdalla
  • 628
  • 1
  • 8
  • 18