XMLHTTP60.send sending multiple times?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Im using an MSXML2.XMLHTTP60 to send a query to an API. My program worked fine with the old server. Before going to the new server, the query goes through a gateway that checks my key. When I do the following (my key is part of the URL):
Dim objQuery As MSXML2.XMLHTTP60<br/>
objQuery.Open "GET", url, False<br/>
objQuery.send
I get a 403 - Unauthorized error. If I put in the wrong key, I could understand the error. However, the embedded message is "User over qps". I do have a queries-per-second limit, but I am executing this only once. I can send the url
from a browser repeatedly without exceeding my qps limit, but I always get the qps violation even when single-stepping, slowly, through the code.
Does the "send" method send something many times? Any idea of what might be causing this error?
Thanks.

View the full article
 
Back
Top