結果 : make api call with javascript