Changed path

This commit is contained in:
Francesco Mangiacrapa 2023-03-24 11:47:27 +01:00
parent 7aa6c479a1
commit 8a2fd1d67a
1 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ import com.google.common.cache.CacheLoader.InvalidCacheLoadException;
*
* Mar 23, 2023
*/
@Path("{targetAppId:geo|geo-dv|geo-de}")
@Path("/{targetAppId:geo|geo-dv|geo-de}")
public class GeoportalResolver {
private static final String QP_RESOLVE_AS = "res";
@ -230,7 +230,7 @@ public class GeoportalResolver {
* @throws WebApplicationException the web application exception
*/
@POST
@Path("{targetAppId:geo|geo-dv|geo-de}")
@Path("")
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.TEXT_PLAIN)
public Response postGeoportal(@Context HttpServletRequest req, GeoportalRequest jsonRequest,