I\'m sure this is fairly simple. I\'m using the function below to retrieve sites raw html in order to parse it. during my testing, I decided to run my code on stackoverflow.
Your code works. Try echo htmlentities($response); You'll get the raw html for the site you're curling.
echo htmlentities($response);