Update api.php

Depending on php environment, fastly will return error because data is being sent on posts. "The requested resource xxx does not allow request data with POST requests"
Merge pull request #5 from parisholley/master

Update api.php