connection - Multiple request handling with node.js -
i new node , things still don't make sense, bare me. may trivial task experienced node people, struggling want work.
i want make type of relay server:
- send request node server client like: http myserver:port/node1?command=foo&type=bar
- parse out request.url: /node1?command=foo&type=bar
- send second server request.url attached , receive json object server(request.url) according request : http someotherserver/node1?command=foo&type=bar
- deliver json object client
currently have access url request, may know that's not hard task, since it's 'request.url'. want call heroku instance iphone app, have heroku instance relay request server , send response iphone app.
help appreciated. thanks.
Comments
Post a Comment