In my development environment I have two servers. One sends and image to the other over a POST http request.
POST
Client server does this:
I dont know much about restler. But posting an image is a multipart request.
restler.post("http://0.0.0.0:5000",{ data: restler.file(path, filename, fileSize, encoding, contentType), multipart: true })