fixing param in url, it was duplicating '?' and generating a wrong url

The other pullrequest I've made was broken because I was adding "?" by hand, and the doApiCall method was adding another one.

Now it's fixed =)