tags:

views:

9

answers:

1

Hi all,

I'm trying to create a simple service using ASP.NET MVC2. I'm using Poster add-on 1 for Firefox, but when I use POST by filling parameters using Poster, I can't reach them on the controller, here's the line I use:

string parameter = Request.Form["an_example_parameter"];

Am I doing something wrong? Any help on this? Thanks!

A: 

Ok, I figured it out.

On a post the parameters are not added to the URL. If you want them to be sent as the body of the post (e.g. like a form post), use the "Parameter Body" button to create the content.

http://code.google.com/p/poster-extension/issues/detail?id=43

newth