Uncommenting curl and cleaning up and hopefully optimizing API PageObject