我正在尝试使用下面表单中的httpRequestFactory生成的post命令更新java中的融合表行。
httpRequestFactory.buildPostRequest(new GenericUrl,null);
GenericUrl将是这样的:
https://www.google.com/fusiontables/api/queryINSERT INTO -table string- (name,geom)
VALUES ('sedgewich county','<Polygon><outerBoundaryIs><LinearRing>
<coordinates>-102.650938,40.74916,0 -102.651013,40.752116,0 ........</coordinates>
</LinearRing></outerBoundaryIs></Polygon>');
只有kml多边形字符串长达数千个字符。
问题是当帖子执行时,我收到414Request-URI太大的错误。我不认为在邮寄请求中可能会出现此问题。
我可以使用相同的方法插入一个自定义较小的kml字符串,它只会在kml字符串变得太长时给出错误。
我有什么想法可以解决这个问题吗?
由于