danwrong / restler

REST client library for node.js
MIT License
1.99k stars 391 forks source link

Need baseUrl to avoid repeat on every request #190

Open yades opened 9 years ago

yades commented 9 years ago

Please add some function and let us put base url in someplace, like 'setBaseUrl‘. So we don't need to write them every request. Like in form submit, we only need to put real action path in it without server and protocol. BTW, it's a great tool for nodejs http module!