boundaries-io

FREEMIUM
Verified
Par Boundaries-io | Mise à jour לפני 20 ימים | Mapping
Popularité

9.8 / 10

Latence

213ms

Niveau de service

100%

Health Check

N/A

Retour à toutes les discussions

When many zip codes sent, a 414 error occurs

Rapid account: Brianseery
brianseery
לפני 4 שנים

In our business case, we could potentially send hundreds of zip codes in a single request to get their boundaries within a given state. We are using the jQuery approach. It appears that when there are many zip codes, this will cause a 414 error to come back from the API saying that the request URI was too large.

I guess if we have to we could make multiple calls to the API for each state, however we don’t know what the threshold is and it isn’t optimal because the additional calls needed would count extra against our quota just to get a full geoJSON response for certain zip codes within a particular state.

Can someone tell me if there is way to allow sending large numbers of zip codes to the API at one time or what the threshold is for either the number of zip codes sent or URI size?

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires