Empty reply from server – Nginx, PHP, CURL

Recently we setup a sandbox server for one of our APIs. You know, it’s always a good idea to have customers play with a sandbox rather than with a production system. The setup went smoothly and the API did pass all the tests. However, one of our customers complained that when they were accessing the API via PHP they were getting “Empty reply from server”. The Problem – Empty Response What the heck, we thought and tried to replicate the problem.