Synchronous Node.js HTTP for API testing/automation