hzl512 / poster-extension

Automatically exported from code.google.com/p/poster-extension
0 stars 0 forks source link

Need ability to POST without a file or content #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have web services that do not take any parameters at all but Poster will
not let me POST to them because the validation makes me include a file or
content to send.

Original issue reported on code.google.com by robrbec...@gmail.com on 1 May 2008 at 10:10

GoogleCodeExporter commented 8 years ago
Noob.  I figured it out.
I was posting to an ASP.NET web service with content type of application/json.
Needed to include {} (an empty json object) as the content body. :)

Original comment by robrbec...@gmail.com on 1 May 2008 at 10:19

GoogleCodeExporter commented 8 years ago
You should be able to make an empty post.

Original comment by alexmilo...@gmail.com on 3 Aug 2009 at 1:56