I was working on API project which was returning binary data and my goal was to convert bytes to image on the fly using asp.net/c# Here is the quick snippet to write bytes array as an image using HTTP Response.
I’ve come up with Node.js helper to make http request in Node.js. Code uses native Node.js http module to perform requests which is extremely simple yet very handy for quick testing.
Command Pattern encapsulates everything needed to execute an action. In this article, we will be going through the command design pattern in PHP. Command is a very useful design pattern, whose intent is to encapsulate a request as an object. One of the biggest...