Write GET request by XMLHttpRequest