結果 : how to make a api call in javascript