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 google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.