hi I might be wrong but the application/json type applies when the server is sending back a JSON response.
When you are posting data then the normal form post encoding applies (x-www-form-urlencoded or multipart form-data). Only if you are sending the data as multipart-formdata would you need to specify individual encoding , which as far as I know most REST based / JSON API's dont need , and you would post parameters as normal. regards deepak On Tue, Dec 22, 2009 at 10:12 AM, Carl Shaulis <[email protected]>wrote: > Howdy, > > These are naïve questions but I have never worked with JSON before. > > So I need to do a post to a REST API using application./json but on the end > of the post is a comment that requires the plain/text mime type. > > Anyone have pointers on doing posts of this nature? > > Thanks, > > Carl >

