結果 : how to make a get api call in javascript