Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/three.js/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Short url Google短url API错误_Short Url - Fatal编程技术网

Short url Google短url API错误

Short url Google短url API错误,short-url,Short Url,我们正在使用谷歌API来缩短我们的URL。此API适用于较小的URL,但当我们尝试缩短较大的URL时,它会抛出400错误。是否存在缩短URL的最大限制或有任何解决方案来解决此错误?因为有时我们的问题会变得很大,比如说,假设在抛出错误时有数千个字符。有人能找到解决方法吗?举个例子怎么样?

我们正在使用谷歌API来缩短我们的URL。此API适用于较小的URL,但当我们尝试缩短较大的URL时,它会抛出400错误。是否存在缩短URL的最大限制或有任何解决方案来解决此错误?因为有时我们的问题会变得很大,比如说,假设在抛出错误时有数千个字符。

有人能找到解决方法吗?举个例子怎么样?