Proxy with express.js
To avoid same-domain AJAX issues, I want my node.js web server to forward all requests from URL /api/BLABLA to another server, for example other_domain.com:3000/BLABLA, and return to user the same thing that this remote server returned, transparently. All other URLs (beside /api/*) are to be served directly, no proxying. How do I achieve this with … Read more