0
在我的URI收到一個錯誤,同時發出請求
uri.query = [id: "urn://salina/search/xplorer/XplorerApp",criteria:"{'includeNonGeotagged':'true','freetext':\{'text':" + "'" + "${searchString}" +"'}}",contentType:"rss20"]
我有以下我得到一個錯誤說java.net.URISyntaxException:在查詢非法字符在指數94:https://pix.us.baesystems.com/search/query?id=urn://salina/search/xplorer/XplorerApp&criteria= {「includeNonGeotagged」:」 true','freetext':{'text':'test'}} & contentType = rss20
當我轉儲uri.toString()的值並將其放入瀏覽器時,它可以正常工作,所以我可以不知道這裏的問題是...