boundaries-io

免费增值
Verified
通过 Boundaries-io | 已更新 20일 전 | Mapping
人气

9.8 / 10

延迟

213ms

服务等级

100%

Health Check

N/A

返回所有讨论

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?

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论