Added request API to make XMLHttp Request