title: How to make web requests using custom Http verbs in Android and attaching a JSON string
body: <p>This is a question regarding making web requests using Http verbs other than GET,POST,DELETE,PUT etc in the Android platform. I can perfectly do a post in my requests using HttpPost and even attach a JSON string to it.However if I have a custom Http verb , Android does not support it directly via existing api's,though I could do that in iOS using setRequestMethod.I did come across HttpURLConnection class that lets me set the request method,however it limits me to POST,GET,DELETE,PUT and throws up an error if any other Http verb is used. I understand that classes like HttpPost,HttpGet,HttpPut etc extend HttpEntityEnclosingRequest class which in turn extends HttpRequestBase and that my solution would be around tweaking these classes and eventually attaching a JSON string(just like we attach JSON strings to a HttpPost object).</p>
  
  <p>I just can't figure out how to do it.Kindly help.</p>