You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "Kevan Jahanshahi (Jira)" <ji...@apache.org> on 2021/04/16 09:20:00 UTC

[jira] [Created] (UNOMI-467) public Servlet to EndPoints break the GET requests using "payload" parameter

Kevan Jahanshahi created UNOMI-467:
--------------------------------------

             Summary: public Servlet to EndPoints break the GET requests using "payload" parameter
                 Key: UNOMI-467
                 URL: https://issues.apache.org/jira/browse/UNOMI-467
             Project: Apache Unomi
          Issue Type: Bug
            Reporter: Kevan Jahanshahi


In the old servlets it was possible to send JSON Object like the ContextRequest or the EventCollectorRequest using GET and a parameter named "payload".

JAX-RS doesnt know how to deserialize this, so the endpoints en GET.

Like:
 * GET /context.json?payload=\{...}
 * GET /eventcollector?payload=\{...}

Are not working anymore.

Also while fixing this, please uncomment the failing code from ITests in InputValidationIT



--
This message was sent by Atlassian Jira
(v8.3.4#803005)