Hallo Zusammen,
ich versuche meiner API über den Baustein HttpRequest daten zu senden.
Wie muss das Format in "Data to Send" aussehen?
Aktuell konvertiere ich einen Json String in "http entity" - doch das wird nicht akzeptiert:
[HttpRequest] Cause:
java.lang.IllegalArgumentException: Can not set org.apache.http.HttpEntity field de.vertico.starface.module.core.runtime.functions.http.HttpRequest.httpEntity to java.lang.String
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:167)
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:171)
at sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:81)
at java.lang.reflect.Field.set(Field.java:764)
at de.vertico.starface.module.core.runtime.executables.JavaFunctionExec.executeImpl(JavaFunctionExec.java:112)
at de.vertico.starface.module.core.runtime.executables.BaseExec.execute(BaseExec.java:115)
at de.vertico.starface.module.core.runtime.LoadedModule.invokeFunction(LoadedModule.java:213)
at de.vertico.starface.module.core.runtime.LoadedFunction.invoke(LoadedFunction.java:74)
at de.vertico.starface.module.core.runtime.RuntimeEnvironmentImpl.invokeFunction(RuntimeEnvironmentImpl.java:225)
at de.vertico.starface.module.core.runtime.executables.FunctionCallExec.executeImpl(FunctionCallExec.java:128)
at de.vertico.starface.module.core.runtime.executables.BaseExec.execute(BaseExec.java:115)
at de.vertico.starface.module.core.runtime.executables.ContainerExec.executeImpl(ContainerExec.java:82)
at de.vertico.starface.module.core.runtime.executables.FunctionExec.executeImpl(FunctionExec.java:57)
at de.vertico.starface.module.core.runtime.executables.BaseExec.execute(BaseExec.java:115)
at de.vertico.starface.module.core.runtime.ModuleRuntime.callEntryPoint(ModuleRuntime.java:348)
at de.vertico.starface.module.core.runtime.ModuleRuntime.callEntryPoint(ModuleRuntime.java:519)
at de.vertico.starface.module.core.runtime.ModuleRuntime.callLifeCycleEntryPointsForInstance(ModuleRuntime.java:2088)
at de.vertico.starface.module.core.runtime.ModuleRuntime.access$000(ModuleRuntime.java:127)
at de.vertico.starface.module.core.runtime.ModuleRuntime$1.run(ModuleRuntime.java:2062)
at java.lang.Thread.run(Thread.java:748)
Danke für eure Hilfe