Anything on this? I'm sorta stuck :(
On 2 September 2011 00:32, Nischal <[email protected]> wrote: > This is the code : > > URLFetchService fetchService = URLFetchServiceFactory.getURLFetchService(); > URL posturl = new URL("http://www.example.com/comment?token=xxx"); > HTTPResponse response = fetchService.fetch(new HTTPRequest(posturl, > HTTPMethod.DELETE)); > int responseCode = response.getResponseCode(); > > What am I doing wrong here? This always returns a http response code 400. I > am trying to use the http Delete method. > > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-appengine-java/-/ybSlx3wJpdkJ. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > -- -Nischal twitter: NischalShetty <http://twitter.com/nischalshetty> facebook: Nischal <http://facebook.com/nischal> <http://www.justunfollow.com> <http://www.buffr.com> -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
