forked from github/dataease
fix(数据源): 去除空格
This commit is contained in:
parent
6995cfddc3
commit
d2b481c002
@ -142,7 +142,7 @@ public class ApiProvider extends Provider {
|
||||
|
||||
switch (apiDefinition.getMethod()) {
|
||||
case "GET":
|
||||
response = HttpClientUtil.get(apiDefinition.getUrl(), httpClientConfig);
|
||||
response = HttpClientUtil.get(apiDefinition.getUrl().trim(), httpClientConfig);
|
||||
break;
|
||||
case "POST":
|
||||
if (apiDefinitionRequest.getBody().get("type") == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user