結果 : send request and get response in javascript