node.js

Curl and a missing slash

will result in following output when the proxy is Fiddler: while a simple implementation relaying on node.js core http module and http-proxy module outputs this: Meanwhile without the proxy parameter the actual response is: but when the proxy setting is present: As you may have noticed the difference in requests (apart…

Read

An HTTPS system proxy with node

openssl rsa -passin pass:x -in proxy-mirror.pass.key -out proxy-mirror.key rm proxy-mirror.pass.key echo “Generated proxy-mirror.key” openssl req -new -batch -key proxy-mirror.key -out proxy-mirror.csr -subj /CN=proxy-mirror/[email protected]/OU=proxy-mirror/C=PL/O=proxy-mirror echo “Generated…

Read

Combine Express.js and ASP.NET Web API

Navigating to http://localhost:3000/hello will give you response from Express: When you go to http://localhost:3000/webapi/values you’ll get a standard ValuesController response: Note that both requests are logged in console using connect.logger middleware:

Read