How to pass values to string array in post method using Fiddler?

Rajesh

When I'm passing the values in Fiddler like {"rajehs","ramesh","ramsgkfhh"}, I'm getting all the values in [0] location. I've also tried by using = {"rajehs","ramesh","ramsgkfhh"}.

I declared the method like :

    public void Post([FromBody]string[] value)
    {

    }
Vsevolod Goloviznin

You are passing a JSON object in our body, instead of an array. Use [] to pass a JSON array:

["rajehs","ramesh","ramsgkfhh"]

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Unable to pass form values using POST method

From Dev

How to get values from array using POST method

From Dev

Using Chosen how to post array of selected values back to controller as string

From Dev

POST method of API: How to pass an array?

From Dev

how to pass a dictionary using NSURLSession in post method?

From Dev

How to pass string and file as input for form parameters in a POST method using Karate

From Dev

how to pass php post method string in javascript parameter function?

From Dev

How to pass data of many textbox values with POST array in PHP

From Dev

How to pass string array to controller using ajax?

From Dev

How to pass JSON dictionary as parameter using JSON Model by Post method?

From Dev

How to pass JSON dictionary as parameter using JSON Model by Post method?

From Dev

How to pass values to my object array from my static method

From Dev

How to pass a string with spaces as http POST data using curl

From Dev

How to access json Post method values in netbeans using Java

From Dev

How to POST XML using Fiddler to ASP.NET WebAPI

From Dev

How do I change a GET to a POST using Fiddler scripting?

From Dev

How to pass a C string to a Ruby method using mruby?

From Dev

how can i pass a string variable in json by using GET method

From Dev

Pass model values to controller in using jQuery Post ()

From Dev

How to pass Consumer<String> to the method

From Dev

How to pass a method as a string and call it

From Dev

Pass string array to PHP script as POST

From Dev

How to create a Post request in Fiddler

From Dev

send array values in afnetworking post method

From Dev

How to pass string in two dimension array using c

From Dev

How to pass string in two dimension array using c

From Dev

Method to pass 2 parameters to a PUT request in Fiddler

From Dev

How to update a variable with different string values in the same method using java?

From Dev

How to add values to the integer array list using actionPerformed method & jbutton?

Related Related

  1. 1

    Unable to pass form values using POST method

  2. 2

    How to get values from array using POST method

  3. 3

    Using Chosen how to post array of selected values back to controller as string

  4. 4

    POST method of API: How to pass an array?

  5. 5

    how to pass a dictionary using NSURLSession in post method?

  6. 6

    How to pass string and file as input for form parameters in a POST method using Karate

  7. 7

    how to pass php post method string in javascript parameter function?

  8. 8

    How to pass data of many textbox values with POST array in PHP

  9. 9

    How to pass string array to controller using ajax?

  10. 10

    How to pass JSON dictionary as parameter using JSON Model by Post method?

  11. 11

    How to pass JSON dictionary as parameter using JSON Model by Post method?

  12. 12

    How to pass values to my object array from my static method

  13. 13

    How to pass a string with spaces as http POST data using curl

  14. 14

    How to access json Post method values in netbeans using Java

  15. 15

    How to POST XML using Fiddler to ASP.NET WebAPI

  16. 16

    How do I change a GET to a POST using Fiddler scripting?

  17. 17

    How to pass a C string to a Ruby method using mruby?

  18. 18

    how can i pass a string variable in json by using GET method

  19. 19

    Pass model values to controller in using jQuery Post ()

  20. 20

    How to pass Consumer<String> to the method

  21. 21

    How to pass a method as a string and call it

  22. 22

    Pass string array to PHP script as POST

  23. 23

    How to create a Post request in Fiddler

  24. 24

    send array values in afnetworking post method

  25. 25

    How to pass string in two dimension array using c

  26. 26

    How to pass string in two dimension array using c

  27. 27

    Method to pass 2 parameters to a PUT request in Fiddler

  28. 28

    How to update a variable with different string values in the same method using java?

  29. 29

    How to add values to the integer array list using actionPerformed method & jbutton?

HotTag

Archive