Ian De La Cruz Blog

Using Node's built-in HTTP/S modules

While working on a recent class project that involved MongoDB, Node and an external API, I tried creating HTTP request to an external API using just the built-in modules. I was thinking that this wouldn’t be too hard having done it before in Rails. As it turns out, I was going to have a bit of a harder time. I wasn’t getting my expected output: plain text. So, what was the problem?

Continue Reading →