<legend id='u5pKd'><style id='u5pKd'><dir id='u5pKd'><q id='u5pKd'></q></dir></style></legend>

        • <bdo id='u5pKd'></bdo><ul id='u5pKd'></ul>
        <i id='u5pKd'><tr id='u5pKd'><dt id='u5pKd'><q id='u5pKd'><span id='u5pKd'><b id='u5pKd'><form id='u5pKd'><ins id='u5pKd'></ins><ul id='u5pKd'></ul><sub id='u5pKd'></sub></form><legend id='u5pKd'></legend><bdo id='u5pKd'><pre id='u5pKd'><center id='u5pKd'></center></pre></bdo></b><th id='u5pKd'></th></span></q></dt></tr></i><div id='u5pKd'><tfoot id='u5pKd'></tfoot><dl id='u5pKd'><fieldset id='u5pKd'></fieldset></dl></div>
      1. <tfoot id='u5pKd'></tfoot>

        <small id='u5pKd'></small><noframes id='u5pKd'>

      2. 服务器响应状态为 429 (Too Many Requests) intlTelInput

        时间:2023-09-05
          <tbody id='geRJ7'></tbody>
        <i id='geRJ7'><tr id='geRJ7'><dt id='geRJ7'><q id='geRJ7'><span id='geRJ7'><b id='geRJ7'><form id='geRJ7'><ins id='geRJ7'></ins><ul id='geRJ7'></ul><sub id='geRJ7'></sub></form><legend id='geRJ7'></legend><bdo id='geRJ7'><pre id='geRJ7'><center id='geRJ7'></center></pre></bdo></b><th id='geRJ7'></th></span></q></dt></tr></i><div id='geRJ7'><tfoot id='geRJ7'></tfoot><dl id='geRJ7'><fieldset id='geRJ7'></fieldset></dl></div>
          <bdo id='geRJ7'></bdo><ul id='geRJ7'></ul>
          1. <small id='geRJ7'></small><noframes id='geRJ7'>

                • <tfoot id='geRJ7'></tfoot>
                  <legend id='geRJ7'><style id='geRJ7'><dir id='geRJ7'><q id='geRJ7'></q></dir></style></legend>
                  本文介绍了服务器响应状态为 429 (Too Many Requests) intlTelInput.js的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我正在使用 intlTelInput.min.js 使用此代码进行地理 IP 查找

                  I am using intlTelInput.min.js for geo IP lookup with this code

                  jQuery("#teephnumber").intlTelInput({
                          allowExtensions: true,
                          defaultCountry: "auto",
                          setNumber: "Telephone number",
                          geoIpLookup: function(callback) {
                              $.get('http://ipinfo.io', function() {}, "jsonp").always(function(resp) {
                                var countryCode = (resp && resp.country) ? resp.country : "";
                                callback(countryCode);
                              });
                            },
                          nationalMode: false,
                          utilsScript: "/wp-content/themes/imc/js/utils.js"
                      });
                  

                  它工作正常,但现在不在控制台我看到这个错误:

                  it was working fine, but now not in console I see this error:

                  The server responded with a status of 429 (Too Many Requests), GET http://ipinfo.io/?callback=jQuery1112025137682701461017_1438183879450&_=1438183879451
                  

                  因为这个工作没有javascript代码.这可能是什么原因?

                  And no javascript code because of this works.What can be the reason for this?

                  推荐答案

                  在此处查看速率限制:https://ipinfo.io/开发人员

                  您每天限制为 1,000 个 API 请求.如果您需要发出更多请求或需要 SSL 支持,请参阅我们的付费计划."

                  "You are limited to 1,000 API requests per day. If you need to make more requests, or need SSL support, see our paid plans."

                  我认为您需要为更多请求付费,或者想办法减少您提出的请求.您可能可以缓存该位置,因此您只需使用本地存储为每个用户查询一次.

                  I think you need to pay for more requests or find a way to reduce the requests you are making. You can probably cache the location so you only query once per user using localstorage.

                  这篇关于服务器响应状态为 429 (Too Many Requests) intlTelInput.js的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:通过 Javascript 将 DOMTimeStamp 转换为本地化的 HH:M 下一篇:“file:///C:/"上不允许 navigator.geolocation.getCur

                  相关文章

                  最新文章

                  <tfoot id='JZoyL'></tfoot><legend id='JZoyL'><style id='JZoyL'><dir id='JZoyL'><q id='JZoyL'></q></dir></style></legend>

                    <i id='JZoyL'><tr id='JZoyL'><dt id='JZoyL'><q id='JZoyL'><span id='JZoyL'><b id='JZoyL'><form id='JZoyL'><ins id='JZoyL'></ins><ul id='JZoyL'></ul><sub id='JZoyL'></sub></form><legend id='JZoyL'></legend><bdo id='JZoyL'><pre id='JZoyL'><center id='JZoyL'></center></pre></bdo></b><th id='JZoyL'></th></span></q></dt></tr></i><div id='JZoyL'><tfoot id='JZoyL'></tfoot><dl id='JZoyL'><fieldset id='JZoyL'></fieldset></dl></div>
                  1. <small id='JZoyL'></small><noframes id='JZoyL'>

                        <bdo id='JZoyL'></bdo><ul id='JZoyL'></ul>