API Automation Using Javascript