title: is possible post data from android to node js?
body: <p>i use <strong>node.js</strong> as server and android as client, the server work normally send and receive data from client (except android)</p>
  
  <p>here my code in javascript</p>
  
  <pre><code>function put(id, data, callback) {
      $.ajax('http://mydomain.com:8888/' + id + '/', {
          type: 'POST',
          data: JSON.stringify(data),
          dataType: 'json',
          success: function(data) {
              if (callback)
                  callback(data);
          },
          error: function() {
              if (callback)
                  callback(false);
          }
      });
  }
  </code></pre>
  
  <p>and my node script</p>
  
  <pre><code>function handler ( req, res ) {
      if ( req.method === 'POST' ) {
         console.log('receive data from post');
      }
  }
  </code></pre>
  
  <p>the code above has successfully sent data.</p>
  
  <p>i want to send data (post) to node (like what javascript does) in android?</p>
  
  <p>how i achieve that?</p>
  
  <p>thanks</p>