adding follow redirect to curl requests
Merge pull request #1 from danilodelponte/master

adding follow redirect to curl requests