From dde4d011d232cd6492eca80258049ea1699a6144 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Wed, 9 Feb 2022 12:15:00 +0100 Subject: [PATCH] Fixed http method one exist API --- .../schema/ResourceRegistrySchemaClientImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/schema/ResourceRegistrySchemaClientImpl.java b/src/main/java/org/gcube/informationsystem/resourceregistry/schema/ResourceRegistrySchemaClientImpl.java index f07c576..d9dc944 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/schema/ResourceRegistrySchemaClientImpl.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/schema/ResourceRegistrySchemaClientImpl.java @@ -103,7 +103,7 @@ public class ResourceRegistrySchemaClientImpl implements ResourceRegistrySchemaC parameters.put(TypePath.POLYMORPHIC_PARAM, Boolean.FALSE.toString()); gxHTTPStringRequest.queryParams(parameters); - HttpURLConnection httpURLConnection = gxHTTPStringRequest.get(); + HttpURLConnection httpURLConnection = gxHTTPStringRequest.head(); HTTPUtility.getResponse(String.class, httpURLConnection); return true;