This question already has an answer here:
I want to access a webservice function that takes two strings as arguments and return a JSON value. I found a solution to do this using volley library but apparently i have to use Android Lolipop for this. is there a way to do this without volley? Another library? or httpconnection? An example of this use will be perfect.
You can use a library http://square.github.io/retrofit/
or using httpURLConnection