結果 : how to make api calls javascript