Hey Wayne, thanks a lot..
I have also got a solution parallely which i would like to post
URL url = new URL(serverURL);
// open the conncetion
HttpURLConnection connection =
(HttpURLConnection)url.openConnection();
// Let the run-time system (RTS)
Yep that is what I vaguely based mine on. I recognize the Praeda line. I
had to modify mine because I was not sending back an array of json objects
but a specific one that I handle based on the ID on the backend with ruby.
On Wed, Sep 9, 2009 at 1:43 AM, Alok Kulkarni kulsu...@gmail.com
Any answers ??
On Tue, Sep 8, 2009 at 2:00 PM, Alok kulsu...@gmail.com wrote:
I have created a JSON object which i want to send over the network to
a server.Do i need to user OutputStream and BufferedOutput stream ?
I have read the RestClient example which parses an incoming JSON
object and
A snippet for what I do...
public HttpResponse updateGirl(String url, Pawn girl, int pawnID) {
HttpClient httpclient = new DefaultHttpClient();
HttpPut httpput = new HttpPut(url);
// Execute the request
try {
ListNameValuePair nameValuePairs = new ArrayListNameValuePair(
39);
4 matches
Mail list logo