Search code examples
c#webmethodparams-keyword

C# invoke a webmethod


i am using a webmethod with uses the params keyword. (params int[] par)

can i test this webmethod via a browser ? -> how to write this url to invoke the webmethod (e.g. with 6 arguments) ?


Solution

  • You can't do that via URL, you must Post the values.

    You can write small web application just for testing the service, shouldn't take more than 20-30 minutes.