make api call from chrome extension