Are you looking to write the parameters as application/x-form-
urlencoded into the POST body or simply add them as parameters in the
url?
For the case where you want to write to the post body I have had
success with something like the following:
//create the url encoded post body as a string
something like this...
import com.google.appengine.api.urlfetch.*;
import static com.google.appengine.api.urlfetch.HTTPMethod.POST;
import static
com.google.appengine.api.urlfetch.FetchOptions.Builder.withDeadline;
import static
com.google.appengine.api.urlfetch.URLFetchServiceFactory.getURLFetc
import com.google.appengine.api.urlfetch.*;
import static com.google.appengine.api.urlfetch.HTTPMethod.POST;
import static
com.google.appengine.api.urlfetch.FetchOptions.Builder.withDeadline;
import static
com.google.appengine.api.urlfetch.URLFetchServiceFactory.getURLFetchService;
public class
Thanks hector and Adam,
This works.
On Apr 27, 3:02 am, "hector@ISB" wrote:
> import com.google.appengine.api.urlfetch.*;
> import static com.google.appengine.api.urlfetch.HTTPMethod.POST;
> import static
> com.google.appengine.api.urlfetch.FetchOptions.Builder.withDeadline;
> import static
>